Get some basic general Ticket Type data
GET/statistics/tickets/:company_guid
Get all Ticket Types of a Company based on input from ElasticSearch with aggregations.
Request
Path Parameters
The guid of the Company.
- application/json
Body
Input data
From which Order to start with returning.
The maximum number of Orders to return.
The start time of the data.
The end time of the data.
The filters that will be applied to the query.
The keys with their direction for which sorting should be applied to the query.
Responses
- 200
- 403
- 404
- 406
- 500
All Orders directly from Elasticsearch.
Unauthorized. You do not have permission to retrieve the Ticket Types of the Company
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Company not found.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Request is invalid, see error context for validation errors.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Internal server error. The input json is malformed.
- application/json
- Schema
- Example (from schema)
Schema
The general error code.
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}