POST api/WeatherCCE/ExecuteWeatherStationAssessment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
ObjDOMWS
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "InsuranceDetails": {
    "ID": 1.0,
    "CCECaseDetailsID": 1.0,
    "CCESlotDetailsID": 1.0,
    "StateID": 1.0,
    "DistrictID": 1.0,
    "CropID": 1.0,
    "YearID": 1.0,
    "ReferenceUnitArea": "sample string 2",
    "DateOfSurvey": "sample string 3",
    "Village": "sample string 4",
    "SeasonID": 1.0,
    "Block": "sample string 5",
    "NyayPanchayat": "sample string 6",
    "GramPanchayat": "sample string 7",
    "RevenueCircle": "sample string 8",
    "NameOfGovernmentOfficial": "sample string 9",
    "IsActive": true,
    "LastUpdatedBy": "sample string 10",
    "LastUpdatedDate": "2024-12-29T01:45:10.6000567+05:30",
    "BlockID": 1.0,
    "NayaPanchayatID": 1.0,
    "GramPanchayatID": 1.0,
    "ReferenceUnitAreaID": 1.0,
    "NameOfPersonVisiting": "sample string 11",
    "NameOfAttendant": "sample string 12",
    "Location": "sample string 13",
    "WeatherStationID": 1.0
  },
  "WSEvaluationOneResponse": {
    "ID": 1.0,
    "WSExists": true,
    "SensorFound": "sample string 2",
    "IsAutomatedORManual": true,
    "ManualReason": "sample string 3",
    "AWSOperated": "sample string 4",
    "IsBackUp": true,
    "BackUpReason": "sample string 5",
    "ISWSPlacedAdequateHeight": true,
    "IsWSWorkingCondition": true,
    "WorkingConditionReason": "sample string 6",
    "IsAnyPhysicalDamage": true,
    "PhysicalDamageReason": "sample string 7",
    "LastUpdatedBy": "sample string 8",
    "LastUpdatedDate": "2024-12-29T01:45:10.6000567+05:30",
    "CaseDetailsID": 1.0,
    "CCESlotID": 1.0
  },
  "WSEvaluationTwoResponse": {
    "ID": 1.0,
    "IsWSPlacedOpen": true,
    "Remarks": "sample string 2",
    "IsThereObstacles": true,
    "ObstacleReason": "sample string 3",
    "IsDirt": true,
    "IsTipping": true,
    "IsCalibrationMass": true,
    "SpecifyRainCalibrationMass": "sample string 4",
    "IsWSBAaseStrong": true,
    "IsLogSheetMaintance": true,
    "LastRepaire": "sample string 5",
    "MaintanancePersonName": "sample string 6",
    "ContactNumber": 7.0,
    "OverAllObservation": "sample string 8",
    "LastUpdatedDate": "2024-12-29T01:45:10.6000567+05:30",
    "LastUpdatedBy": "sample string 10",
    "CaseDetailsID": 1.0,
    "CCESlotID": 1.0
  },
  "UploadResponse": [
    {
      "ID": 1.0,
      "CaseDetailsID": 1.0,
      "UploadType": "sample string 2",
      "FileName": "sample string 3",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "IsDryWeight": true
    },
    {
      "ID": 1.0,
      "CaseDetailsID": 1.0,
      "UploadType": "sample string 2",
      "FileName": "sample string 3",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "IsDryWeight": true
    },
    {
      "ID": 1.0,
      "CaseDetailsID": 1.0,
      "UploadType": "sample string 2",
      "FileName": "sample string 3",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "IsDryWeight": true
    }
  ],
  "UserName": "sample string 1",
  "CaseID": 2.0,
  "Remarks": "sample string 3",
  "AssessmentTypeID": 4.0,
  "ActionLattitude": 1.1,
  "ActionLongitude": 1.1
}

text/html

Sample:
{"InsuranceDetails":{"ID":1.0,"CCECaseDetailsID":1.0,"CCESlotDetailsID":1.0,"StateID":1.0,"DistrictID":1.0,"CropID":1.0,"YearID":1.0,"ReferenceUnitArea":"sample string 2","DateOfSurvey":"sample string 3","Village":"sample string 4","SeasonID":1.0,"Block":"sample string 5","NyayPanchayat":"sample string 6","GramPanchayat":"sample string 7","RevenueCircle":"sample string 8","NameOfGovernmentOfficial":"sample string 9","IsActive":true,"LastUpdatedBy":"sample string 10","LastUpdatedDate":"2024-12-29T01:45:10.6000567+05:30","BlockID":1.0,"NayaPanchayatID":1.0,"GramPanchayatID":1.0,"ReferenceUnitAreaID":1.0,"NameOfPersonVisiting":"sample string 11","NameOfAttendant":"sample string 12","Location":"sample string 13","WeatherStationID":1.0},"WSEvaluationOneResponse":{"ID":1.0,"WSExists":true,"SensorFound":"sample string 2","IsAutomatedORManual":true,"ManualReason":"sample string 3","AWSOperated":"sample string 4","IsBackUp":true,"BackUpReason":"sample string 5","ISWSPlacedAdequateHeight":true,"IsWSWorkingCondition":true,"WorkingConditionReason":"sample string 6","IsAnyPhysicalDamage":true,"PhysicalDamageReason":"sample string 7","LastUpdatedBy":"sample string 8","LastUpdatedDate":"2024-12-29T01:45:10.6000567+05:30","CaseDetailsID":1.0,"CCESlotID":1.0},"WSEvaluationTwoResponse":{"ID":1.0,"IsWSPlacedOpen":true,"Remarks":"sample string 2","IsThereObstacles":true,"ObstacleReason":"sample string 3","IsDirt":true,"IsTipping":true,"IsCalibrationMass":true,"SpecifyRainCalibrationMass":"sample string 4","IsWSBAaseStrong":true,"IsLogSheetMaintance":true,"LastRepaire":"sample string 5","MaintanancePersonName":"sample string 6","ContactNumber":7.0,"OverAllObservation":"sample string 8","LastUpdatedDate":"2024-12-29T01:45:10.6000567+05:30","LastUpdatedBy":"sample string 10","CaseDetailsID":1.0,"CCESlotID":1.0},"UploadResponse":[{"ID":1.0,"CaseDetailsID":1.0,"UploadType":"sample string 2","FileName":"sample string 3","Latitude":1.1,"Longitude":1.1,"IsDryWeight":true},{"ID":1.0,"CaseDetailsID":1.0,"UploadType":"sample string 2","FileName":"sample string 3","Latitude":1.1,"Longitude":1.1,"IsDryWeight":true},{"ID":1.0,"CaseDetailsID":1.0,"UploadType":"sample string 2","FileName":"sample string 3","Latitude":1.1,"Longitude":1.1,"IsDryWeight":true}],"UserName":"sample string 1","CaseID":2.0,"Remarks":"sample string 3","AssessmentTypeID":4.0,"ActionLattitude":1.1,"ActionLongitude":1.1}

application/xml, text/xml

Sample:
<DOMWS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeatherInsuranceCCEWebAPIServices.Models">
  <ActionLattitude>1.1</ActionLattitude>
  <ActionLongitude>1.1</ActionLongitude>
  <AssessmentTypeID>4</AssessmentTypeID>
  <CaseID>2</CaseID>
  <InsuranceDetails>
    <Block>sample string 5</Block>
    <BlockID>1</BlockID>
    <CCECaseDetailsID>1</CCECaseDetailsID>
    <CCESlotDetailsID>1</CCESlotDetailsID>
    <CropID>1</CropID>
    <DateOfSurvey>sample string 3</DateOfSurvey>
    <DistrictID>1</DistrictID>
    <GramPanchayat>sample string 7</GramPanchayat>
    <GramPanchayatID>1</GramPanchayatID>
    <ID>1</ID>
    <IsActive>true</IsActive>
    <LastUpdatedBy>sample string 10</LastUpdatedBy>
    <LastUpdatedDate>2024-12-29T01:45:10.6000567+05:30</LastUpdatedDate>
    <Location>sample string 13</Location>
    <NameOfAttendant>sample string 12</NameOfAttendant>
    <NameOfGovernmentOfficial>sample string 9</NameOfGovernmentOfficial>
    <NameOfPersonVisiting>sample string 11</NameOfPersonVisiting>
    <NayaPanchayatID>1</NayaPanchayatID>
    <NyayPanchayat>sample string 6</NyayPanchayat>
    <ReferenceUnitArea>sample string 2</ReferenceUnitArea>
    <ReferenceUnitAreaID>1</ReferenceUnitAreaID>
    <RevenueCircle>sample string 8</RevenueCircle>
    <SeasonID>1</SeasonID>
    <StateID>1</StateID>
    <Village>sample string 4</Village>
    <WeatherStationID>1</WeatherStationID>
    <YearID>1</YearID>
  </InsuranceDetails>
  <Remarks>sample string 3</Remarks>
  <UploadResponse>
    <DOMCaseUploadResponse>
      <CaseDetailsID>1</CaseDetailsID>
      <FileName>sample string 3</FileName>
      <ID>1</ID>
      <IsDryWeight>true</IsDryWeight>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <UploadType>sample string 2</UploadType>
    </DOMCaseUploadResponse>
    <DOMCaseUploadResponse>
      <CaseDetailsID>1</CaseDetailsID>
      <FileName>sample string 3</FileName>
      <ID>1</ID>
      <IsDryWeight>true</IsDryWeight>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <UploadType>sample string 2</UploadType>
    </DOMCaseUploadResponse>
    <DOMCaseUploadResponse>
      <CaseDetailsID>1</CaseDetailsID>
      <FileName>sample string 3</FileName>
      <ID>1</ID>
      <IsDryWeight>true</IsDryWeight>
      <Latitude>1.1</Latitude>
      <Longitude>1.1</Longitude>
      <UploadType>sample string 2</UploadType>
    </DOMCaseUploadResponse>
  </UploadResponse>
  <UserName>sample string 1</UserName>
  <WSEvaluationOneResponse>
    <AWSOperated>sample string 4</AWSOperated>
    <BackUpReason>sample string 5</BackUpReason>
    <CCESlotID>1</CCESlotID>
    <CaseDetailsID>1</CaseDetailsID>
    <ID>1</ID>
    <ISWSPlacedAdequateHeight>true</ISWSPlacedAdequateHeight>
    <IsAnyPhysicalDamage>true</IsAnyPhysicalDamage>
    <IsAutomatedORManual>true</IsAutomatedORManual>
    <IsBackUp>true</IsBackUp>
    <IsWSWorkingCondition>true</IsWSWorkingCondition>
    <LastUpdatedBy>sample string 8</LastUpdatedBy>
    <LastUpdatedDate>2024-12-29T01:45:10.6000567+05:30</LastUpdatedDate>
    <ManualReason>sample string 3</ManualReason>
    <PhysicalDamageReason>sample string 7</PhysicalDamageReason>
    <SensorFound>sample string 2</SensorFound>
    <WSExists>true</WSExists>
    <WorkingConditionReason>sample string 6</WorkingConditionReason>
  </WSEvaluationOneResponse>
  <WSEvaluationTwoResponse>
    <CCESlotID>1</CCESlotID>
    <CaseDetailsID>1</CaseDetailsID>
    <ContactNumber>7</ContactNumber>
    <ID>1</ID>
    <IsCalibrationMass>true</IsCalibrationMass>
    <IsDirt>true</IsDirt>
    <IsLogSheetMaintance>true</IsLogSheetMaintance>
    <IsThereObstacles>true</IsThereObstacles>
    <IsTipping>true</IsTipping>
    <IsWSBAaseStrong>true</IsWSBAaseStrong>
    <IsWSPlacedOpen>true</IsWSPlacedOpen>
    <LastRepaire>sample string 5</LastRepaire>
    <LastUpdatedBy>sample string 10</LastUpdatedBy>
    <LastUpdatedDate>2024-12-29T01:45:10.6000567+05:30</LastUpdatedDate>
    <MaintanancePersonName>sample string 6</MaintanancePersonName>
    <ObstacleReason>sample string 3</ObstacleReason>
    <OverAllObservation>sample string 8</OverAllObservation>
    <Remarks>sample string 2</Remarks>
    <SpecifyRainCalibrationMass>sample string 4</SpecifyRainCalibrationMass>
  </WSEvaluationTwoResponse>
</DOMWS>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DOMWS'.

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>