POST api/DSSCheckDams

Request Information

URI Parameters

None.

Body Parameters

CheckDams_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,}$

watershadeboundaryValue

string

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

StorageCapacity

decimal number

Matching regular expression pattern: ^\d+(\.\d+)*$

DPRStorageCapacity

decimal number

None.

VegitationCover

string

Matching regular expression pattern: ^[0-9%-]+$

Bund

integer

Matching regular expression pattern: ^[0-9]*[1-9][0-9]*$

Autoflag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DistrictValue": "sample string 1",
  "TalukaValue": "sample string 2",
  "watershadeboundaryValue": "sample string 3",
  "StorageCapacity": 4.1,
  "DPRStorageCapacity": 1.1,
  "VegitationCover": "sample string 5",
  "Bund": 1,
  "Autoflag": 6
}

application/xml, text/xml

Sample:
<CheckDams_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models">
  <Autoflag>6</Autoflag>
  <Bund>1</Bund>
  <DPRStorageCapacity>1.1</DPRStorageCapacity>
  <DistrictValue>sample string 1</DistrictValue>
  <StorageCapacity>4.1</StorageCapacity>
  <TalukaValue>sample string 2</TalukaValue>
  <VegitationCover>sample string 5</VegitationCover>
  <watershadeboundaryValue>sample string 3</watershadeboundaryValue>
</CheckDams_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 'CheckDams_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/" />