POST api/Village

Request Information

URI Parameters

None.

Body Parameters

Village
NameDescriptionTypeAdditional information
VillageID

integer

None.

VillageName

string

None.

TehsilID

integer

None.

DistrictID

integer

None.

StateID

integer

None.

CountryID

integer

None.

DBID

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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.