Message: ticket.query
Queries the ticket from the graph.
Schema
Body
query | any value (optional) The query to execute. |
Response Type
Array of objectkey | string |
value | any value |
Example: Query a Ticket
Query a Ticket
First, send the following POST Message request. **Request** ```json [{ "type": "query" }] ```
Response
HTTP/1.1 200 OK
---
{
"paths": [
"resources/actors/custom/asset/{ticketId}",
"resources/actors/custom/asset/return/`<TICKET NUMBER>`",
"resources/actors/custom/asset/return/`<EXTERNAL REFERENCE>`"
],
"data": {
"query": {}
}
}
Using an incorrect or non-existent {ticketId} returns a NOT_FOUND error.