POST api/DSSCropWaterRequirement
Request Information
URI Parameters
None.
Body Parameters
CropWaterRequirement_InputName | Description | Type | Additional information |
---|---|---|---|
CropName | string |
None. |
|
RecordDate | string |
None. |
|
DayCount | integer |
None. |
|
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,}$ |
|
SurveyNoValue | string |
Matching regular expression pattern: ^[a-zA-Z0-9()/\s]{2,}$ |
|
CropArea | string |
None. |
|
Date_OF_Sowning | date |
None. |
|
ActualAreaInSurvey | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "CropName": "sample string 1", "RecordDate": "sample string 2", "DayCount": 3, "DistrictValue": "sample string 4", "TalukaValue": "sample string 5", "VillageValue": "sample string 6", "SurveyNoValue": "sample string 7", "CropArea": "sample string 8", "Date_OF_Sowning": "2025-05-04T02:48:17.714519+05:30", "ActualAreaInSurvey": 1.1 }
application/xml, text/xml
Sample:
<CropWaterRequirement_Input xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <ActualAreaInSurvey>1.1</ActualAreaInSurvey> <CropArea>sample string 8</CropArea> <CropName>sample string 1</CropName> <Date_OF_Sowning>2025-05-04T02:48:17.714519+05:30</Date_OF_Sowning> <DayCount>3</DayCount> <DistrictValue>sample string 4</DistrictValue> <RecordDate>sample string 2</RecordDate> <SurveyNoValue>sample string 7</SurveyNoValue> <TalukaValue>sample string 5</TalukaValue> <VillageValue>sample string 6</VillageValue> </CropWaterRequirement_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/" />