Search complaints
Returns the complaints the caller recorded or whose sale is theirs — every complaint under the supervisor override — newest first, narrowed to a ticket, a sale or a status, paginated. **Required permission:** `ticketing.complaint:read`
/ticketing/v1/complaintsReturns the complaints the caller recorded or whose sale is theirs — every complaint under the supervisor override — newest first, narrowed to a ticket, a sale or a status, paginated.
Required permission: ticketing.complaint:read
Authorization
oauth2 In: header
Query Parameters
The ticket the complaints concern.
The sale the complaints concern.
Zero-based page index, at most 10000.
int320 <= value <= 10000Page size, at most 200.
int320 <= value <= 200Response Body
*/*
curl -X GET "https://example.com/ticketing/v1/complaints"{ "data": [ { "actions": [ { "description": "string", "id": "string", "kind": "string", "taken_at": "2019-08-24T14:15:22Z", "taken_by": "string" } ], "category": "string", "description": "string", "dispute": { "handed_over_at": "2019-08-24T14:15:22Z", "handed_over_by": "string", "reason": "string" }, "document": { "actions": [ { "description": "string", "id": "string", "kind": "string", "taken_at": "2019-08-24T14:15:22Z", "taken_by": "string" } ], "closed_at": "2019-08-24T14:15:22Z", "closed_by": "string", "outcome": "string", "reply": "string", "settled_as_dispute": true }, "id": "string", "recorded_at": "2019-08-24T14:15:22Z", "recorded_by": "string", "sale_id": "string", "status": "string", "ticket_id": "string", "traveller_name": "string", "traveller_phone": "string" } ], "page": 0, "size": 0, "total": 0}Read a cash-register session's closure summary
Returns the financial statement a closed register produced. **Required permission:** `ticketing.cash-register:read`
Record a complaint
Records a traveller's complaint with the traveller, the ticket or the sale it concerns when there is one, its category and the traveller's account, kept with the agent who recorded it and when. Moves no money and changes no ticket. **Required permission:** `ticketing.complaint:write`