GET order/{apiKey}/states?CountryID={CountryID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

None.

apiKey

string

None.

Body Parameters

None.

Response Information

Resource Description

StatesSearchResult
NameDescriptionTypeAdditional information
states

Collection of States

None.

status

string

None.

request_length

decimal number

None.

message

string

None.

ipaddress

string

None.

Response Formats

application/json, text/json

Sample:
{
  "states": [
    {
      "state_id": 1,
      "state_name": "sample string 2",
      "state_abbreviation": "sample string 3"
    },
    {
      "state_id": 1,
      "state_name": "sample string 2",
      "state_abbreviation": "sample string 3"
    }
  ],
  "status": "sample string 1",
  "request_length": 2.1,
  "message": "sample string 3",
  "ipaddress": "sample string 4"
}

text/xml

Sample:
<result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPI.API.Models">
  <ipaddress>sample string 4</ipaddress>
  <message>sample string 3</message>
  <request_length>2.1</request_length>
  <status>sample string 1</status>
  <states>
    <states>
      <state_abbreviation>sample string 3</state_abbreviation>
      <state_id>1</state_id>
      <state_name>sample string 2</state_name>
    </states>
    <states>
      <state_abbreviation>sample string 3</state_abbreviation>
      <state_id>1</state_id>
      <state_name>sample string 2</state_name>
    </states>
  </states>
</result>