GET api/State/AllStates
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
StateResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| States | Collection of State |
None. |
|
| HasErrors | boolean |
None. |
|
| HasValidationErrors | boolean |
None. |
|
| Messages | Collection of ResponseMessage |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"States": [
{
"StateId": 1,
"StateName": "sample string 2",
"StateAbbreviation": "sample string 3"
},
{
"StateId": 1,
"StateName": "sample string 2",
"StateAbbreviation": "sample string 3"
}
],
"HasErrors": false,
"HasValidationErrors": false,
"Messages": []
}