GET api/Location/GetState?stateCode={stateCode}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateCode | string |
Required |
Body Parameters
None.
Response Information
Resource Description
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
}