POST api/JankariPortal/InsertDistrict

Request Information

URI Parameters

None.

Body Parameters

District
NameDescriptionTypeAdditional information
dtid

integer

None.

stname

string

None.

dtname

string

None.

Request Formats

application/json, text/json

Sample:
{
  "dtid": 1,
  "stname": "sample string 2",
  "dtname": "sample string 3"
}

application/xml, text/xml

Sample:
<District xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JankariPortalPIFAPI.Models">
  <dtid>1</dtid>
  <dtname>sample string 3</dtname>
  <stname>sample string 2</stname>
</District>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response 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>