Responses

  • 200 application/json

    200 response

    Hide response attributes Show response attributes object
    • paginationNumber integer
    • paginationOffset integer
    • total integer
    • numberPage integer
    • list array[object]

      Agence

      Hide list attributes Show list attributes object
      • id integer
      • name string
      • code string
      • address object
        Hide address attributes Show address attributes object
        • street_line_one string
        • street_line_two string
        • district string
        • postcode integer
        • city string
GET /agencies
curl \
 --request GET 'https://api.fleetee.io/agencies' \
 --header "x-api-key: $API_KEY"
Response examples (200)
{
  "paginationNumber": 42,
  "paginationOffset": 42,
  "total": 42,
  "numberPage": 42,
  "list": [
    {
      "id": 42,
      "name": "string",
      "code": "string",
      "address": {
        "street_line_one": "string",
        "street_line_two": "string",
        "district": "string",
        "postcode": 42,
        "city": "string"
      }
    }
  ]
}