GET api/Location/GetLocationHierarchy?cityId={cityId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cityId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LocationHierarchyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CityName | string |
None. |
|
| StateName | string |
None. |
|
| CountryName | string |
None. |
|
| CityId | integer |
None. |
|
| StateId | integer |
None. |
|
| CountryId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CityName": "sample string 1",
"StateName": "sample string 2",
"CountryName": "sample string 3",
"CityId": 4,
"StateId": 5,
"CountryId": 6
}