GET api/GetStates
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of StateLookup| Name | Description | Type | Additional information |
|---|---|---|---|
| StateId | integer |
None. |
|
| StateCode | string |
Required String length: inclusive between 0 and 10 |
|
| StateName | string |
Required String length: inclusive between 0 and 50 |
|
| CountryId | integer |
None. |
|
| DeletedDate | date |
None. |
|
| CountryLookup | CountryLookup |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"stateId": 1,
"stateCode": "sample string 2",
"stateName": "sample string 3",
"countryId": 4,
"deletedDate": "2025-12-08T11:25:48.5043326+00:00",
"countryLookup": {
"$id": "3",
"countryId": 1,
"countryCode": "sample string 2",
"countryName": "sample string 3",
"alpha3Code": "sample string 4",
"useOnScreen": true,
"deletedDate": "2025-12-08T11:25:48.5043326+00:00"
}
},
{
"$ref": "2"
}
]