POST api/FarmPondResult

Request Information

URI Parameters

None.

Body Parameters

FarmPond_Input
NameDescriptionTypeAdditional information
DistrictValue

string

Matching regular expression pattern: ^[a-zA-Z() -.\s]{2,}$

TalukaValue

string

Matching regular expression pattern: ^[a-zA-Z() -.\s]{2,}$

VillageValue

string

Matching regular expression pattern: ^[a-zA-Z() -.\s]{2,}$

WatershedBoundaryValue

string

Matching regular expression pattern: ^[a-zA-Z0-9()\s]{2,}$

SurveyNoValue

string

Matching regular expression pattern: ^[a-zA-Z0-9()/\s]{2,}$

VegitationCover

string

Matching regular expression pattern: ([0-9]{1,2}-([0-9]{2,3})%)

Bund

string

Matching regular expression pattern: ([0-9]+)$

Autoflag

string

None.

WatershedBoundaryType

string

Matching regular expression pattern: ^[0-9-]\s]{2,}$

Request Formats

application/json, text/json

Sample:
{
  "DistrictValue": "sample string 1",
  "TalukaValue": "sample string 2",
  "VillageValue": "sample string 3",
  "WatershedBoundaryValue": "sample string 4",
  "SurveyNoValue": "sample string 5",
  "VegitationCover": "sample string 6",
  "Bund": "sample string 7",
  "Autoflag": "sample string 8",
  "WatershedBoundaryType": "sample string 9"
}

application/xml, text/xml

Sample:
<FarmPond_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models">
  <Autoflag>sample string 8</Autoflag>
  <Bund>sample string 7</Bund>
  <DistrictValue>sample string 1</DistrictValue>
  <SurveyNoValue>sample string 5</SurveyNoValue>
  <TalukaValue>sample string 2</TalukaValue>
  <VegitationCover>sample string 6</VegitationCover>
  <VillageValue>sample string 3</VillageValue>
  <WatershedBoundaryType>sample string 9</WatershedBoundaryType>
  <WatershedBoundaryValue>sample string 4</WatershedBoundaryValue>
</FarmPond_Input>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FarmPond_Input'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />