GET api/IsoState?type={type}
Gets a list of state.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
type |
List Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of IsoStateName | Description | Type | Additional information |
---|---|---|---|
StateName | string |
None. |
|
StateCode | string |
None. |
|
CountryCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "StateName": "sample string 1", "StateCode": "sample string 2", "CountryCode": "sample string 3" }, { "StateName": "sample string 1", "StateCode": "sample string 2", "CountryCode": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfIsoState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <IsoState> <CountryCode>sample string 3</CountryCode> <StateCode>sample string 2</StateCode> <StateName>sample string 1</StateName> </IsoState> <IsoState> <CountryCode>sample string 3</CountryCode> <StateCode>sample string 2</StateCode> <StateName>sample string 1</StateName> </IsoState> </ArrayOfIsoState>