Skip to content
← Back to Index

Message: ticket.query

Queries the ticket from the graph.

Schema

Body
queryany value (optional) The query to execute.
Response Type Array of object
keystring
valueany 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.

© 2024 Hantera AB. All rights reserved.