Districts
Retrieve a specific District by ID
Unique identifier of the resource
1District retrieved successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-12-01T08:55:13.854Z",
"modified_date": "2025-12-01T08:55:13.854Z"
}Update a specific District by ID
Unique identifier of the resource
1Primary key of the district
District Name
DavutpasaIs it active? (True/False)
trueRelated City ID
Related Township ID
Postcode
34000Zipcode
34000District updated
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
PUT /api/v1/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"postcode": "34000",
"zipcode": "34000",
"modified_date": "2025-12-01T08:55:13.854Z"
}No content
Delete a specific District by ID
Unique identifier of the resource
1District deleted successfully
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
DELETE /api/v1/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Partial update a specific District by ID
Unique identifier of the resource
1Primary key of the district
District Name
DavutpasaIs it active? (True/False)
trueRelated City ID
Related Township ID
Postcode
34000Zipcode
34000District updated
No content
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
PATCH /api/v1/districts/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"postcode": "34000",
"zipcode": "34000",
"modified_date": "2025-12-01T08:55:13.854Z"
}No content
Retrieve a specific District by ID with details
Unique identifier of the resource
1District retrieved successfully with details
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/districts/{id}/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"city": 1,
"township": 1,
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-12-01T08:55:13.854Z",
"modified_date": "2025-12-01T08:55:13.854Z"
}List Districts
Specifies the page number of the current dataset
1Indicates the number of rows on the current page.
10Filters by exact name
Filter by integration mapping object's integration type
Filter by integration mapping object's code
Activate id to hyperlink the response data.
Filter by City ID
Filter by Township ID
Filter by Postcode
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/districts/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"created_date": "2025-12-01T08:55:13.854Z",
"modified_date": "2025-12-01T08:55:13.854Z"
}
]
}Create District
Primary key of the district
District Name
DavutpasaIs it active? (True/False)
trueRelated City ID
Related Township ID
Postcode
34000Zipcode
34000District Created
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
POST /api/v1/districts/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 139
{
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"postcode": "34000",
"zipcode": "34000",
"modified_date": "2025-12-01T08:55:13.854Z"
}{
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-12-01T08:55:13.854Z",
"modified_date": "2025-12-01T08:55:13.854Z"
}List Districts with details
Specifies the page number of the current dataset
1Indicates the number of rows on the current page.
10Filters by exact name
Filter by integration mapping object's integration type
Filter by integration mapping object's code
Activate id to hyperlink the response data.
Filter by City ID
Filter by Township ID
Filter by Postcode
OK
Unauthorized Access
The given resource or object was not found or does not exist.
Server Error
GET /api/v1/districts/detailed/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
"count": 0,
"next": "text",
"previous": "text",
"results": [
{
"pk": 1,
"name": "Davutpasa",
"is_active": true,
"city": 1,
"township": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"postcode": "34000",
"zipcode": "34000",
"created_date": "2025-12-01T08:55:13.854Z",
"modified_date": "2025-12-01T08:55:13.854Z"
}
]
}Was this helpful?

