Consumptions

Find All Consumptions

Returns all Ticket Consumtions

getv2/tickets/consumptions

Request

  • Base URL: http://api.busup.local/v2
  • URL: http://api.busup.local/v2/v2/tickets/consumptions
  • Auth: api_key (a scheme the document does not define)

Path parameters

admin_idinteger required

The ID of the Admin user that performs the action

sitesstring required

Comma separated Commuting Site IDs. Ex: 1,2

datesstring required

Start and End dates separated by comma. Same dates means filter by this day. Ex: YYYY-MM-DD,YYYY-MM-DD

companiesstring required

Comma separated Company IDs. Ex: 1,2

cost_centersstring required

Comma separated Cost Center IDs. Ex: 1,2

route_codestring required

Comma separated Route codes. Ex: AAAAA,BBBBB

route_titlestring required

Comma separated Route titles. Ex: Route title 1,Route title 2

errorstring required

Consumptions with errors. Ex: 1/0

error_typestring required

Comma separated Consumptions Error types. Ex: app.route_invalid,app.without_consumptions

search_bystring required

Filter by: email/name/surname/service_id/worker_id/subscription_id

sortstring required

Sort ASC / DESC by date. Ex: date / -date

per_pageinteger required

Load N entries per page. Default: 25

pageinteger required

Load page N

Response

Successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.