GET v1/Lookups/States/{stateCode}
Returns a specific state
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stateCode |
State code |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
State
StateDTOName | Description | Type | Additional 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>