GET
api/v1/get-statecode?stateId={stateId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| stateId | integer |
Required |
Response Information
Description:
Return type: StateProvince
Response Formats
application/json, text/json
{
"StateProvinceId": 1,
"CountryId": 1,
"StateCode": "sample string 2",
"StateName": "sample string 3",
"SortOrder": 1,
"IsActive": true,
"ImagePath": "sample string 4"
}
text/html
{"StateProvinceId":1,"CountryId":1,"StateCode":"sample string 2","StateName":"sample string 3","SortOrder":1,"IsActive":true,"ImagePath":"sample string 4"}
application/xml, text/xml
<StateProvince xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Master"> <CountryId>1</CountryId> <ImagePath>sample string 4</ImagePath> <IsActive>true</IsActive> <SortOrder>1</SortOrder> <StateCode>sample string 2</StateCode> <StateName>sample string 3</StateName> <StateProvinceId>1</StateProvinceId> </StateProvince>
