POST api/DSSWaterBalanceResult
Request Information
URI Parameters
None.
Body Parameters
WaterBalance_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| DistrictValue | string |
Matching regular expression pattern: ^[a-zA-Z() -.\s]{2,}$ |
|
| CropID | string |
Matching regular expression pattern: ^[0-9]*[1-9][0-9]*$ |
|
| 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,}$ |
|
| DateOfSowning | string |
Matching regular expression pattern: ^[0-9()/\s]{2,10}$ |
|
| Irrigation | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| LastDateIrrigation | string |
Matching regular expression pattern: ^[0-9()/\s]{2,10}$ |
|
| CropArea | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| ActualAreaInSurvey | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| Session_ID | string |
None. |
|
| CadastralId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DistrictValue": "sample string 1",
"CropID": "sample string 2",
"TalukaValue": "sample string 3",
"VillageValue": "sample string 4",
"WatershedBoundaryValue": "sample string 5",
"SurveyNoValue": "sample string 6",
"DateOfSowning": "sample string 7",
"Irrigation": 1.1,
"LastDateIrrigation": "sample string 8",
"CropArea": 9.1,
"ActualAreaInSurvey": 1.1,
"Session_ID": "sample string 10",
"CadastralId": 1
}
application/xml, text/xml
Sample:
<WaterBalance_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <ActualAreaInSurvey>1.1</ActualAreaInSurvey> <CadastralId>1</CadastralId> <CropArea>9.1</CropArea> <CropID>sample string 2</CropID> <DateOfSowning>sample string 7</DateOfSowning> <DistrictValue>sample string 1</DistrictValue> <Irrigation>1.1</Irrigation> <LastDateIrrigation>sample string 8</LastDateIrrigation> <Session_ID>sample string 10</Session_ID> <SurveyNoValue>sample string 6</SurveyNoValue> <TalukaValue>sample string 3</TalukaValue> <VillageValue>sample string 4</VillageValue> <WatershedBoundaryValue>sample string 5</WatershedBoundaryValue> </WaterBalance_Input>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
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/" />