POST api/Tehsil

Request Information

URI Parameters

None.

Body Parameters

Tehsil
NameDescriptionTypeAdditional information
TehsilID

integer

None.

TehsilName

string

None.

DistrictID

integer

None.

StateID

integer

None.

CountryID

integer

None.

DBID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TehsilID": 1,
  "TehsilName": "sample string 2",
  "DistrictID": 3,
  "StateID": 4,
  "CountryID": 5,
  "DBID": "sample string 6"
}

application/xml, text/xml

Sample:
<Tehsil xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiAssignment.Models">
  <CountryID>5</CountryID>
  <DBID>sample string 6</DBID>
  <DistrictID>3</DistrictID>
  <StateID>4</StateID>
  <TehsilID>1</TehsilID>
  <TehsilName>sample string 2</TehsilName>
</Tehsil>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.