POST api/WeatherCCE/SyncCropSurvey
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
ObjDOMAD | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "AssesmentTypeID": 2.0, "StateID": 3.0, "DistrictID": 4.0, "CropID": 5.0, "YearID": 6.0, "SeasonID": 7.0, "SchemeID": 8.0, "ReferenceUnitID": 9.0, "LocationMappingID": 1.0, "LocaleID": 10, "RequestID": "sample string 11", "Village": "sample string 12", "SurveyType": "sample string 13", "CropHealth": "sample string 14", "BlockId": 15.0, "NPID": 16.0, "GPID": 17.0, "UploadResponse": [ { "ID": "sample string 1", "CaseDetailsID": 1.0, "UploadType": "sample string 2", "FileName": "sample string 3", "Latitude": 1.1, "Longitude": 1.1, "IsDryWeight": true, "ImageNo": 1.0, "CapturedDateTime": "2024-12-29T02:12:36.3571005+05:30" }, { "ID": "sample string 1", "CaseDetailsID": 1.0, "UploadType": "sample string 2", "FileName": "sample string 3", "Latitude": 1.1, "Longitude": 1.1, "IsDryWeight": true, "ImageNo": 1.0, "CapturedDateTime": "2024-12-29T02:12:36.3571005+05:30" }, { "ID": "sample string 1", "CaseDetailsID": 1.0, "UploadType": "sample string 2", "FileName": "sample string 3", "Latitude": 1.1, "Longitude": 1.1, "IsDryWeight": true, "ImageNo": 1.0, "CapturedDateTime": "2024-12-29T02:12:36.3571005+05:30" } ], "Remarks": "sample string 18", "TypeOfSeed": "sample string 19", "CurrentCropStage": "sample string 20", "CurrentCropAge": "sample string 21", "MixedCroppingApplicable": true, "MainCrop": "sample string 22", "MainCropPercent": 1.0, "MixedCrop": "sample string 23", "MixedCropPercent": 1.0 }
text/html
Sample:
{"UserName":"sample string 1","AssesmentTypeID":2.0,"StateID":3.0,"DistrictID":4.0,"CropID":5.0,"YearID":6.0,"SeasonID":7.0,"SchemeID":8.0,"ReferenceUnitID":9.0,"LocationMappingID":1.0,"LocaleID":10,"RequestID":"sample string 11","Village":"sample string 12","SurveyType":"sample string 13","CropHealth":"sample string 14","BlockId":15.0,"NPID":16.0,"GPID":17.0,"UploadResponse":[{"ID":"sample string 1","CaseDetailsID":1.0,"UploadType":"sample string 2","FileName":"sample string 3","Latitude":1.1,"Longitude":1.1,"IsDryWeight":true,"ImageNo":1.0,"CapturedDateTime":"2024-12-29T02:12:36.3571005+05:30"},{"ID":"sample string 1","CaseDetailsID":1.0,"UploadType":"sample string 2","FileName":"sample string 3","Latitude":1.1,"Longitude":1.1,"IsDryWeight":true,"ImageNo":1.0,"CapturedDateTime":"2024-12-29T02:12:36.3571005+05:30"},{"ID":"sample string 1","CaseDetailsID":1.0,"UploadType":"sample string 2","FileName":"sample string 3","Latitude":1.1,"Longitude":1.1,"IsDryWeight":true,"ImageNo":1.0,"CapturedDateTime":"2024-12-29T02:12:36.3571005+05:30"}],"Remarks":"sample string 18","TypeOfSeed":"sample string 19","CurrentCropStage":"sample string 20","CurrentCropAge":"sample string 21","MixedCroppingApplicable":true,"MainCrop":"sample string 22","MainCropPercent":1.0,"MixedCrop":"sample string 23","MixedCropPercent":1.0}
application/xml, text/xml
Sample:
<DOMCropSurvey xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models"> <AssesmentTypeID>2</AssesmentTypeID> <BlockId>15</BlockId> <CropHealth>sample string 14</CropHealth> <CropID>5</CropID> <CurrentCropAge>sample string 21</CurrentCropAge> <CurrentCropStage>sample string 20</CurrentCropStage> <DistrictID>4</DistrictID> <GPID>17</GPID> <LocaleID>10</LocaleID> <LocationMappingID>1</LocationMappingID> <MainCrop>sample string 22</MainCrop> <MainCropPercent>1</MainCropPercent> <MixedCrop>sample string 23</MixedCrop> <MixedCropPercent>1</MixedCropPercent> <MixedCroppingApplicable>true</MixedCroppingApplicable> <NPID>16</NPID> <ReferenceUnitID>9</ReferenceUnitID> <Remarks>sample string 18</Remarks> <RequestID>sample string 11</RequestID> <SchemeID>8</SchemeID> <SeasonID>7</SeasonID> <StateID>3</StateID> <SurveyType>sample string 13</SurveyType> <TypeOfSeed>sample string 19</TypeOfSeed> <UploadResponse> <DOMCaseUploadResponseCS> <CapturedDateTime>2024-12-29T02:12:36.3571005+05:30</CapturedDateTime> <CaseDetailsID>1</CaseDetailsID> <FileName>sample string 3</FileName> <ID>sample string 1</ID> <ImageNo>1</ImageNo> <IsDryWeight>true</IsDryWeight> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <UploadType>sample string 2</UploadType> </DOMCaseUploadResponseCS> <DOMCaseUploadResponseCS> <CapturedDateTime>2024-12-29T02:12:36.3571005+05:30</CapturedDateTime> <CaseDetailsID>1</CaseDetailsID> <FileName>sample string 3</FileName> <ID>sample string 1</ID> <ImageNo>1</ImageNo> <IsDryWeight>true</IsDryWeight> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <UploadType>sample string 2</UploadType> </DOMCaseUploadResponseCS> <DOMCaseUploadResponseCS> <CapturedDateTime>2024-12-29T02:12:36.3571005+05:30</CapturedDateTime> <CaseDetailsID>1</CaseDetailsID> <FileName>sample string 3</FileName> <ID>sample string 1</ID> <ImageNo>1</ImageNo> <IsDryWeight>true</IsDryWeight> <Latitude>1.1</Latitude> <Longitude>1.1</Longitude> <UploadType>sample string 2</UploadType> </DOMCaseUploadResponseCS> </UploadResponse> <UserName>sample string 1</UserName> <Village>sample string 12</Village> <YearID>6</YearID> </DOMCropSurvey>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "Error_Code": 1, "Error_Message": "sample string 2", "RequestID": "sample string 3", "CaseID": 4.0 }
text/html
Sample:
{"Error_Code":1,"Error_Message":"sample string 2","RequestID":"sample string 3","CaseID":4.0}
application/xml, text/xml
Sample:
<ErrorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models"> <CaseID>4</CaseID> <Error_Code>1</Error_Code> <Error_Message>sample string 2</Error_Message> <RequestID>sample string 3</RequestID> </ErrorResponse>