search

Purpose

Performs a full-text search in the database assigned to the account used to obtain the session ID. The search query has the same syntax as that used in the standard Platform interface. See Views and Search for more information on search query syntax.

HTTP Method

GET

URL

https://app.infiniteblue.com/rest/api/search

URL Parameters

sessionId

The session ID obtained from the body of the response when calling login.

output

Optional parameter specifying the output format, one of: xml (default) or json.

query

A URL-encoded SQL query that adheres to the same syntax and restrictions as the server-side Query API.

objName

Optional integration name to narrow the search to a particular object.

Response

IDs of all records found in the search, returned as an array of longs

Example

Output example (XML):

<resp status="ok">
<ids>
<id>314452</id>
<id>128003</id>
</ids>
</resp>

Output example (JSON):

[ 314452, 128003 ]