Routes Accounting API¶
Summary¶
| Resource | Operation | Description |
|---|---|---|
| Route Accounting Record | GET /dcs/(dc_id)/routes/(route_id)/accounting | Get all records for the route |
Details¶
-
GET/dcs/(dc_id)/routes/(route_id)/accounting¶ Parameters: - dc_id (string) – The dc id
- route_id (string) – The route id
Status Codes: - 200 OK – Accounting Record was returned.
- 400 Bad Request – Check error code within the response.
- 401 Unauthorized – API key is invalid.
- 403 Forbidden – DC does not exist or user does not have permission to access it.
Error Code Description 3003 Route with that id does not exist. Example response
{ "status": "success", "data": { "records": [{ "id": "record A", "driver_id": "driver A", "cash_received_cents": 9999, "cash_container_id": "bag A" }] } }