Region

GET /region/list

This API is to get all the list of available regions. This is an authendicated API so we need to pass bearer token in request header to access the data. This is the special API so it should be enabled for you by the service provider.

Responses

GET /region/list
curl \
 -X GET https://api-console.logezy.co/v1/region/list \
 -H "Authorization: Bearer your-access-token" \
 -H "Accept: application/json"
Response examples (200)
{
  "status": "success",
  "data": [
    {
      "id": 1,
      "name": "Glasgow",
      "code": "REGDEM1",
      "description": null,
      "total_candidates": 281,
      "total_businessunits": 47
    }
  ],
  "message": "Region list retrieved successfully."
}
{
  "status": "error",
  "message": "Region is not enabled or you dont have access for region",
  "code": 400
}