Autocomplete Problems

POST {{baseUrl}}/api/v2/problems/autocomplete?text=<string>

Returns tickets whose type is problem and whose subject contains the string specified in the text parameter.

You can specify the text parameter in the request body rather than the query string. Example:

{"text": "fire"}

Allowed For

  • Agents

Request Params

KeyDatatypeRequiredDescription
textstringThe text to search for

Request Body

{"text"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;tickets&quot;:[{&quot;custom_status_id&quot;:123,&quot;description&quot;:&quot;The fire is very colorful.&quot;,&quot;id&quot;:33,&quot;status&quot;:&quot;open&quot;,&quot;subject&quot;:&quot;My printer is on fire&quot;},{&quot;custom_status_id&quot;:231,&quot;description&quot;:&quot;The fire is very colorful as well!&quot;,&quot;id&quot;:34,&quot;status&quot;:&quot;pending&quot;,&quot;subject&quot;:&quot;The printer is on fire over here too&quot;}]}