Districts
This method retrieves district data, including name, status of activity, and related geographical identifiers like city and township.
Token-based authentication with required prefix "Token"
Query parameter city used to filter results based on specific conditions.
Query parameter created_date used to filter results based on specific conditions.
Query parameter id used to filter results based on specific conditions.
Filters records where id is greater than the given value.
Filters records where id is greater than or equal to the given value.
Filters records where id is less than the given value.
Filters records where id is less than or equal to the given value.
Query parameter is_active used to filter results based on specific conditions.
Limits the number of results returned in the response.
Query parameter modified_date used to filter results based on specific conditions.
Filters records where modified_date is greater than the given value.
Filters records where modified_date is greater than or equal to the given value.
Filters records where modified_date is less than the given value.
Filters records where modified_date is less than or equal to the given value.
Query parameter name used to filter results based on specific conditions.
Query parameter page used to filter results based on specific conditions.
Query parameter postcode used to filter results based on specific conditions.
Query parameter sort used to filter results based on specific conditions.
Query parameter township used to filter results based on specific conditions.
Query parameter translations used to filter results based on specific conditions.
Successful response for status code 200.
GET /api/v1/remote/1/data-warehouse/districts/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
Successful response for status code 200.
{
"count": 123,
"next": "http://api.example.org/accounts/?page=4",
"previous": "http://api.example.org/accounts/?page=2",
"results": [
{
"city": 1,
"created_date": "2025-12-01T15:06:12.069Z",
"id": 1,
"is_active": true,
"modified_date": "2025-12-01T15:06:12.069Z",
"name": "text",
"postcode": "text",
"township": 1,
"translations": null
}
]
}This method retrieves district data, including name, status of activity, and related geographical identifiers like city and township. This endpoint retrieves a specific record by its unique identifier.
Token-based authentication with required prefix "Token"
A unique integer value identifying this district.
Successful response for status code 200.
Object not found.
GET /api/v1/remote/1/data-warehouse/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"city": 1,
"created_date": "2025-12-01T15:06:12.069Z",
"id": 1,
"is_active": true,
"modified_date": "2025-12-01T15:06:12.069Z",
"name": "text",
"postcode": "text",
"township": 1,
"translations": null
}Was this helpful?

