GET api/State?Country={Country}&EmailId={EmailId}&PhoneNo={PhoneNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Country | string |
Required |
|
| EmailId | string |
Required |
|
| PhoneNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of State| Name | Description | Type | Additional information |
|---|---|---|---|
| StateCode | string |
None. |
|
| StateName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StateCode": "sample string 1",
"StateName": "sample string 2"
},
{
"StateCode": "sample string 1",
"StateName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ImpexMobileAPI.Controllers">
<State>
<StateCode>sample string 1</StateCode>
<StateName>sample string 2</StateName>
</State>
<State>
<StateCode>sample string 1</StateCode>
<StateName>sample string 2</StateName>
</State>
</ArrayOfState>