POST admin/lookups/countries/{countryID}/provinces/{provinceID}/districts/{districtID}/towns
Request Information
Authorize
AdminURI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryID | integer |
Required |
|
| provinceID | integer |
Required |
|
| districtID | integer |
Required |
Body Parameters
Town| Name | Description | Type | Additional information |
|---|---|---|---|
| X | decimal number |
None. |
|
| Y | decimal number |
None. |
|
| District | District |
Required |
|
| 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
Town| Name | Description | Type | Additional information |
|---|---|---|---|
| X | decimal number |
None. |
|
| Y | decimal number |
None. |
|
| District | District |
Required |
|
| 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: