POST api/JankariPortal/InsertState
Request Information
URI Parameters
None.
Body Parameters
State| Name | Description | Type | Additional information |
|---|---|---|---|
| stid | integer |
None. |
|
| stname | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"stid": 1,
"stname": "sample string 2"
}
application/xml, text/xml
Sample:
<State xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models"> <stid>1</stid> <stname>sample string 2</stname> </State>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>