GET forms/getStates/{countryCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryCode

string

Required

Body Parameters

None.

Response Information

Resource Description

GetStatesResult
NameDescriptionTypeAdditional information
States

Collection of State

None.

Response Formats

application/json, text/json

Sample:
{
  "States": [
    {
      "St_StateCode": "sample string 1",
      "St_State": "sample string 2",
      "CountryAbbrev": "sample string 3",
      "StateCountry": "sample string 4"
    },
    {
      "St_StateCode": "sample string 1",
      "St_State": "sample string 2",
      "CountryAbbrev": "sample string 3",
      "StateCountry": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<GetStatesResult xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <States>
    <State>
      <St_StateCode>sample string 1</St_StateCode>
      <St_State>sample string 2</St_State>
      <CountryAbbrev>sample string 3</CountryAbbrev>
      <StateCountry>sample string 4</StateCountry>
    </State>
    <State>
      <St_StateCode>sample string 1</St_StateCode>
      <St_State>sample string 2</St_State>
      <CountryAbbrev>sample string 3</CountryAbbrev>
      <StateCountry>sample string 4</StateCountry>
    </State>
  </States>
</GetStatesResult>