Connectors
...
Actions
Get Ticket by ID
5 min
description retrieve a specific ticket from halopsa using the unique identifier (id) provided endpoint url /api/tickets/{{id}} method get inputs parameters (object) includedetails (boolean) whether to include extra objects in the response includelastaction (boolean) whether to include the last action in the response ticketidonly (boolean) returns only the id fields (ticket id, sla id, status id, client id and name and lastincomingemail date) of the tickets (not compatible with pagination) path parameters (object) – required id (number) – required the ticket's id output example \[ { "status code" 200, "response headers" { "content type" "text/html; charset=utf 8", "x hsci cache time" "2024 10 21t12 01 22 328z", "content encoding" "gzip", "expires" "mon, 21 oct 2024 12 08 57 gmt", "cache control" "max age=0, no cache, no store", "pragma" "no cache", "date" "mon, 21 oct 2024 12 08 57 gmt", "content length" "106931", "connection" "keep alive" }, "reason" "ok", "json body" { "actioncode" 0, "id" 0, "dateoccurred" "2019 08 02t14 35 55 618z", "status id" 0, "tickettype id" 0, "sla id" 0, "priority id" 0, "client id" 0, "timetaken" 0, "respondbydate" "2019 08 02t14 35 55 618z", "responsedate" "2019 08 02t14 35 55 618z", "responsestartdate" "2019 08 02t14 35 55 618z", "slaresponsestate" "string", "fixbydate" "2019 08 02t14 35 55 618z", "dateclosed" "2019 08 02t14 35 55 618z", "excludefromsla" true, "slaholdtime" 0, "slaactiondate" "2019 08 02t14 35 55 618z", "slapercused" 0, "slatimeleft" 0, "lastactiondate" "2019 08 02t14 35 55 618z", "organisation id" 0, "department id" 0 } } ] output parameters status code (number) reason (string) json body (object) actioncode (number) id (number) dateoccurred (string) status id (number) tickettype id (number) sla id (number) priority id (number) client id (number) timetaken (number) respondbydate (string) responsedate (string) responsestartdate (string) slaresponsestate (string) fixbydate (string) dateclosed (string) excludefromsla (boolean) slaholdtime (number) slaactiondate (string) slapercused (number) slatimeleft (number) lastactiondate (string) organisation id (number) department id (number) response headers header type content type string x hsci cache time string content encoding string expires string cache control string pragma string date string content length string connection string