POST api/DSSWaterBudgetingResult
Request Information
URI Parameters
None.
Body Parameters
WaterBudgeting_Input| Name | Description | Type | Additional 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,}$ |
|
| SurfaceWaterBodies | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| DeepPercolation | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| WaterforIrrigation | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| IsHomeCottage | boolean |
None. |
|
| Water_HomeCottageNeed | decimal number |
Matching regular expression pattern: ^\d+(\.\d+)*$ |
|
| SessionID | string |
None. |
|
| VegitationCover | string |
Matching regular expression pattern: ^[0-9%-]+$ |
|
| Bund | integer |
Matching regular expression pattern: ^[0-9]*[1-9][0-9]*$ |
|
| Autoflag | integer |
None. |
|
| C_TotalNoofPeople | integer |
None. |
|
| C_TotalNoofLiveStock | integer |
None. |
|
| VillageDetails | Collection of VillageDetails |
None. |
|
| SelectedYearvalue | integer |
Matching regular expression pattern: ^[0-9]\s]{4}$ |
Request Formats
application/json, text/json
Sample:
{
"DistrictValue": "sample string 1",
"TalukaValue": "sample string 2",
"watershadeboundaryValue": "sample string 3",
"SurfaceWaterBodies": 1.1,
"DeepPercolation": 1.1,
"WaterforIrrigation": 1.1,
"IsHomeCottage": true,
"Water_HomeCottageNeed": 1.1,
"SessionID": "sample string 4",
"VegitationCover": "sample string 5",
"Bund": 1,
"Autoflag": 6,
"C_TotalNoofPeople": 1,
"C_TotalNoofLiveStock": 1,
"VillageDetails": [
{
"Village": "sample string 1",
"HumanPopulation": 1,
"LivestockPopulation": 1,
"VillageConcate": "sample string 2"
},
{
"Village": "sample string 1",
"HumanPopulation": 1,
"LivestockPopulation": 1,
"VillageConcate": "sample string 2"
}
],
"SelectedYearvalue": 1
}
application/xml, text/xml
Sample:
<WaterBudgeting_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>
<C_TotalNoofLiveStock>1</C_TotalNoofLiveStock>
<C_TotalNoofPeople>1</C_TotalNoofPeople>
<DeepPercolation>1.1</DeepPercolation>
<DistrictValue>sample string 1</DistrictValue>
<IsHomeCottage>true</IsHomeCottage>
<SelectedYearvalue>1</SelectedYearvalue>
<SessionID>sample string 4</SessionID>
<SurfaceWaterBodies>1.1</SurfaceWaterBodies>
<TalukaValue>sample string 2</TalukaValue>
<VegitationCover>sample string 5</VegitationCover>
<VillageDetails>
<VillageDetails>
<HumanPopulation>1</HumanPopulation>
<LivestockPopulation>1</LivestockPopulation>
<Village>sample string 1</Village>
<VillageConcate>sample string 2</VillageConcate>
</VillageDetails>
<VillageDetails>
<HumanPopulation>1</HumanPopulation>
<LivestockPopulation>1</LivestockPopulation>
<Village>sample string 1</Village>
<VillageConcate>sample string 2</VillageConcate>
</VillageDetails>
</VillageDetails>
<Water_HomeCottageNeed>1.1</Water_HomeCottageNeed>
<WaterforIrrigation>1.1</WaterforIrrigation>
<watershadeboundaryValue>sample string 3</watershadeboundaryValue>
</WaterBudgeting_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/" />