POST api/Location/GetAllStatesByCountries

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of StateDTO
NameDescriptionTypeAdditional 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
  }
]