POST api/User/AddState
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
_stateModel | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "CountryID": 1, "stateCode": "sample string 2", "stateName": "sample string 3", "Description": "sample string 4", "StateID": 5, "ActiveStatus": true, "countryList": [ { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" }, { "Selected": true, "Text": "sample string 2", "Value": "sample string 3" } ] }
application/xml, text/xml
Sample:
<StateInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models"> <ActiveStatus>true</ActiveStatus> <CountryID>1</CountryID> <Description>sample string 4</Description> <StateID>5</StateID> <countryList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc"> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> <d2p1:SelectListItem> <d2p1:Selected>true</d2p1:Selected> <d2p1:Text>sample string 2</d2p1:Text> <d2p1:Value>sample string 3</d2p1:Value> </d2p1:SelectListItem> </countryList> <stateCode>sample string 2</stateCode> <stateName>sample string 3</stateName> </StateInfoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.