GET api/GetStates

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of StateLookup
NameDescriptionTypeAdditional 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": "2024-09-19T22:34:41.1053063+00:00",
    "countryLookup": {
      "$id": "3",
      "countryId": 1,
      "countryCode": "sample string 2",
      "countryName": "sample string 3",
      "alpha3Code": "sample string 4",
      "useOnScreen": true,
      "deletedDate": "2024-09-19T22:34:41.1053063+00:00"
    }
  },
  {
    "$ref": "2"
  }
]