GET api/Location/GetAllStatesByCountry?countryId={countryId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StateDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | integer |
None. |
|
| Name | string |
None. |
|
| StateCode | string |
None. |
|
| Lattitude | string |
None. |
|
| Longitude | string |
None. |
|
| CountryId | integer |
None. |
|
| StateWithCodeName | string |
None. |
|
| IsStatePaused | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StateId": 1,
"Name": "sample string 2",
"StateCode": "sample string 3",
"Lattitude": "sample string 4",
"Longitude": "sample string 5",
"CountryId": 1,
"StateWithCodeName": "sample string 2, sample string 3",
"IsStatePaused": true
},
{
"StateId": 1,
"Name": "sample string 2",
"StateCode": "sample string 3",
"Lattitude": "sample string 4",
"Longitude": "sample string 5",
"CountryId": 1,
"StateWithCodeName": "sample string 2, sample string 3",
"IsStatePaused": true
}
]