GET api/States_Fetcher?country_code={country_code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
country_code

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of states_fetcher_dc
NameDescriptionTypeAdditional information
StateId

integer

None.

StateName

string

None.

StateCode

string

None.

CountryCode

string

None.

CountryName

string

None.

Display

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StateId": 1,
    "StateName": "sample string 2",
    "StateCode": "sample string 3",
    "CountryCode": "sample string 4",
    "CountryName": "sample string 5",
    "Display": "sample string 6"
  },
  {
    "StateId": 1,
    "StateName": "sample string 2",
    "StateCode": "sample string 3",
    "CountryCode": "sample string 4",
    "CountryName": "sample string 5",
    "Display": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfstates_fetcher_dc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplicationITTF1.Controllers">
  <states_fetcher_dc>
    <CountryCode>sample string 4</CountryCode>
    <CountryName>sample string 5</CountryName>
    <Display>sample string 6</Display>
    <StateCode>sample string 3</StateCode>
    <StateId>1</StateId>
    <StateName>sample string 2</StateName>
  </states_fetcher_dc>
  <states_fetcher_dc>
    <CountryCode>sample string 4</CountryCode>
    <CountryName>sample string 5</CountryName>
    <Display>sample string 6</Display>
    <StateCode>sample string 3</StateCode>
    <StateId>1</StateId>
    <StateName>sample string 2</StateName>
  </states_fetcher_dc>
</ArrayOfstates_fetcher_dc>