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:
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"
    }]
  }
}