Townships
Similar to districts, this retrieves information about townships, linked to cities in the system.
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 translations
used to filter results based on specific conditions.
GET /api/v1/remote/1/data-warehouse/townships/ 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-06-27T08:46:55.354Z",
"id": 1,
"is_active": true,
"modified_date": "2025-06-27T08:46:55.354Z",
"name": "text",
"postcode": "text",
"translations": null
}
]
}
Similar to districts, this retrieves information about townships, linked to cities in the system. This endpoint retrieves a specific record by its unique identifier.
A unique integer value identifying this township.
GET /api/v1/remote/1/data-warehouse/townships/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"city": 1,
"created_date": "2025-06-27T08:46:55.354Z",
"id": 1,
"is_active": true,
"modified_date": "2025-06-27T08:46:55.354Z",
"name": "text",
"postcode": "text",
"translations": null
}
Was this helpful?