POST admin/lookups/countries/{countryID}/provinces/{provinceID}/districts
Request Information
Authorize
AdminURI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryID | integer |
Required |
|
provinceID | integer |
Required |
Body Parameters
DistrictName | Description | Type | Additional information |
---|---|---|---|
Province | Province |
Required |
|
Towns | Collection of Town |
None. |
|
Parent | HierarchyLookup |
None. |
|
Level | integer |
None. |
|
TypeName | string |
None. |
|
FlatSortOrder | integer |
None. |
|
ParentID | integer |
None. |
|
Path | string |
None. |
|
ID | integer |
None. |
|
Name | string |
Required String length: inclusive between 1 and 100 |
|
SortOrder | integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
DistrictName | Description | Type | Additional information |
---|---|---|---|
Province | Province |
Required |
|
Towns | Collection of Town |
None. |
|
Parent | HierarchyLookup |
None. |
|
Level | integer |
None. |
|
TypeName | string |
None. |
|
FlatSortOrder | integer |
None. |
|
ParentID | integer |
None. |
|
Path | string |
None. |
|
ID | integer |
None. |
|
Name | string |
Required String length: inclusive between 1 and 100 |
|
SortOrder | integer |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml
Sample:
text/xml
Sample: