GET v1/Lookups/States

Returns the states for The United States of America

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of states

Collection of StateDTO
NameDescriptionTypeAdditional information
StateCode

string

None.

State1

string

None.

CountryCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "StateCode": "sample string 1",
    "State1": "sample string 2",
    "CountryCode": "sample string 3"
  },
  {
    "StateCode": "sample string 1",
    "State1": "sample string 2",
    "CountryCode": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects">
  <StateDTO>
    <CountryCode>sample string 3</CountryCode>
    <State1>sample string 2</State1>
    <StateCode>sample string 1</StateCode>
  </StateDTO>
  <StateDTO>
    <CountryCode>sample string 3</CountryCode>
    <State1>sample string 2</State1>
    <StateCode>sample string 1</StateCode>
  </StateDTO>
</ArrayOfStateDTO>