GET API/Checkin/StateCountrySearch/{CityId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CityId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StateCountrySearch
NameDescriptionTypeAdditional information
StateName

string

None.

CountryName

string

None.

StateId

integer

None.

CountryId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StateName": "sample string 1",
    "CountryName": "sample string 2",
    "StateId": 3,
    "CountryId": 4
  },
  {
    "StateName": "sample string 1",
    "CountryName": "sample string 2",
    "StateId": 3,
    "CountryId": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfStateCountrySearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
  <StateCountrySearch>
    <CountryId>4</CountryId>
    <CountryName>sample string 2</CountryName>
    <StateId>3</StateId>
    <StateName>sample string 1</StateName>
  </StateCountrySearch>
  <StateCountrySearch>
    <CountryId>4</CountryId>
    <CountryName>sample string 2</CountryName>
    <StateId>3</StateId>
    <StateName>sample string 1</StateName>
  </StateCountrySearch>
</ArrayOfStateCountrySearch>