GET v1/Lookups/States/{stateCode}

returns a specific state

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stateCode

string

Required

Body Parameters

None.

Response Information

Resource Description

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"
}

application/xml, text/xml

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