POST api/CropAdvisory/GetAdvisoryByStateAndDistrict

Request Information

URI Parameters

None.

Body Parameters

RequestCropAdvisoryInput
NameDescriptionTypeAdditional information
stateId

integer

None.

distrctId

integer

None.

startDate

date

None.

endDate

string

None.

Request Formats

application/json, text/json

Sample:
{
  "stateId": 1,
  "distrctId": 2,
  "startDate": "2026-07-19T05:22:24.9067739+05:30",
  "endDate": "sample string 4"
}

application/xml, text/xml

Sample:
<RequestCropAdvisoryInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_CROPADVISORY">
  <distrctId>2</distrctId>
  <endDate>sample string 4</endDate>
  <startDate>2026-07-19T05:22:24.9067739+05:30</startDate>
  <stateId>1</stateId>
</RequestCropAdvisoryInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>