POST api/WeatherCCE/ExecuteMidTermAssessment

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
ObjMIDTermRespons
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "AssessmentTypeID": 1.0,
  "CaseDetailsID": 1.0,
  "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",
    "NameOfPersonVisiting": "sample string 9",
    "IsActive": true,
    "LastUpdatedBy": "sample string 10",
    "LastUpdatedDate": "2024-12-29T02:19:09.9131055+05:30",
    "BlockID": 1.0,
    "NayaPanchayatID": 1.0,
    "GramPanchayatID": 1.0,
    "ReferenceUnitAreaID": 1.0,
    "FarmerName": "sample string 11"
  },
  "MTAInvestigationResponse": {
    "ID": 1.0,
    "CaseDetailsID": 2.0,
    "CCESlotID": 3.0,
    "IsCropOrLoss": true,
    "TypeOfSeed": "sample string 5",
    "DateOfSowing": "sample string 6",
    "CurrentStageCrop": "sample string 7",
    "PhysicalAppreance": "sample string 8",
    "PhysicalAppreanceReason": "sample string 9",
    "ExpectedDateHarvesting": "sample string 10",
    "SurveyTeamID": 1.0,
    "TypeOfAdversity": "sample string 11",
    "DateOfOccurrence": "sample string 12",
    "DateOfIntemiation": "sample string 13",
    "IntematedBy": "sample string 14",
    "ShortDescription": "sample string 15",
    "AreaAffected": "sample string 16",
    "ConditionOfFieldNearBy": "sample string 17",
    "IsActive": true,
    "LastUpdatedDate": "2024-12-29T02:19:09.9131055+05:30",
    "LastUpdatedBy": "sample string 18",
    "Location": "sample string 19",
    "YieldExpectedCompareToLast": "sample string 20",
    "Village": "sample string 21"
  },
  "MTASurveyTeamResponse": [
    {
      "ID": 1.0,
      "MTAResponseID": 2.0,
      "Name": "sample string 3",
      "Designation": "sample string 4",
      "ContactNumber": 1.0,
      "IsActive": true,
      "LastUpdatedDate": "2024-12-29T02:19:09.9131055+05:30",
      "LastUpdatedBy": "sample string 5"
    },
    {
      "ID": 1.0,
      "MTAResponseID": 2.0,
      "Name": "sample string 3",
      "Designation": "sample string 4",
      "ContactNumber": 1.0,
      "IsActive": true,
      "LastUpdatedDate": "2024-12-29T02:19:09.9131055+05:30",
      "LastUpdatedBy": "sample string 5"
    },
    {
      "ID": 1.0,
      "MTAResponseID": 2.0,
      "Name": "sample string 3",
      "Designation": "sample string 4",
      "ContactNumber": 1.0,
      "IsActive": true,
      "LastUpdatedDate": "2024-12-29T02:19:09.9131055+05:30",
      "LastUpdatedBy": "sample string 5"
    }
  ],
  "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
    }
  ],
  "Remarks": "sample string 2",
  "UserName": "sample string 3",
  "ActionLattitude": 1.1,
  "ActionLongitude": 1.1
}

text/html

Sample:
{"AssessmentTypeID":1.0,"CaseDetailsID":1.0,"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","NameOfPersonVisiting":"sample string 9","IsActive":true,"LastUpdatedBy":"sample string 10","LastUpdatedDate":"2024-12-29T02:19:09.9131055+05:30","BlockID":1.0,"NayaPanchayatID":1.0,"GramPanchayatID":1.0,"ReferenceUnitAreaID":1.0,"FarmerName":"sample string 11"},"MTAInvestigationResponse":{"ID":1.0,"CaseDetailsID":2.0,"CCESlotID":3.0,"IsCropOrLoss":true,"TypeOfSeed":"sample string 5","DateOfSowing":"sample string 6","CurrentStageCrop":"sample string 7","PhysicalAppreance":"sample string 8","PhysicalAppreanceReason":"sample string 9","ExpectedDateHarvesting":"sample string 10","SurveyTeamID":1.0,"TypeOfAdversity":"sample string 11","DateOfOccurrence":"sample string 12","DateOfIntemiation":"sample string 13","IntematedBy":"sample string 14","ShortDescription":"sample string 15","AreaAffected":"sample string 16","ConditionOfFieldNearBy":"sample string 17","IsActive":true,"LastUpdatedDate":"2024-12-29T02:19:09.9131055+05:30","LastUpdatedBy":"sample string 18","Location":"sample string 19","YieldExpectedCompareToLast":"sample string 20","Village":"sample string 21"},"MTASurveyTeamResponse":[{"ID":1.0,"MTAResponseID":2.0,"Name":"sample string 3","Designation":"sample string 4","ContactNumber":1.0,"IsActive":true,"LastUpdatedDate":"2024-12-29T02:19:09.9131055+05:30","LastUpdatedBy":"sample string 5"},{"ID":1.0,"MTAResponseID":2.0,"Name":"sample string 3","Designation":"sample string 4","ContactNumber":1.0,"IsActive":true,"LastUpdatedDate":"2024-12-29T02:19:09.9131055+05:30","LastUpdatedBy":"sample string 5"},{"ID":1.0,"MTAResponseID":2.0,"Name":"sample string 3","Designation":"sample string 4","ContactNumber":1.0,"IsActive":true,"LastUpdatedDate":"2024-12-29T02:19:09.9131055+05:30","LastUpdatedBy":"sample string 5"}],"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}],"Remarks":"sample string 2","UserName":"sample string 3","ActionLattitude":1.1,"ActionLongitude":1.1}

application/xml, text/xml

Sample:
<DOMMIDTermRespons 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>1</AssessmentTypeID>
  <CaseDetailsID>1</CaseDetailsID>
  <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>
    <FarmerName>sample string 11</FarmerName>
    <GramPanchayat>sample string 7</GramPanchayat>
    <GramPanchayatID>1</GramPanchayatID>
    <ID>1</ID>
    <IsActive>true</IsActive>
    <LastUpdatedBy>sample string 10</LastUpdatedBy>
    <LastUpdatedDate>2024-12-29T02:19:09.9131055+05:30</LastUpdatedDate>
    <NameOfPersonVisiting>sample string 9</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>
    <YearID>1</YearID>
  </InsuranceDetails>
  <MTAInvestigationResponse>
    <AreaAffected>sample string 16</AreaAffected>
    <CCESlotID>3</CCESlotID>
    <CaseDetailsID>2</CaseDetailsID>
    <ConditionOfFieldNearBy>sample string 17</ConditionOfFieldNearBy>
    <CurrentStageCrop>sample string 7</CurrentStageCrop>
    <DateOfIntemiation>sample string 13</DateOfIntemiation>
    <DateOfOccurrence>sample string 12</DateOfOccurrence>
    <DateOfSowing>sample string 6</DateOfSowing>
    <ExpectedDateHarvesting>sample string 10</ExpectedDateHarvesting>
    <ID>1</ID>
    <IntematedBy>sample string 14</IntematedBy>
    <IsActive>true</IsActive>
    <IsCropOrLoss>true</IsCropOrLoss>
    <LastUpdatedBy>sample string 18</LastUpdatedBy>
    <LastUpdatedDate>2024-12-29T02:19:09.9131055+05:30</LastUpdatedDate>
    <Location>sample string 19</Location>
    <PhysicalAppreance>sample string 8</PhysicalAppreance>
    <PhysicalAppreanceReason>sample string 9</PhysicalAppreanceReason>
    <ShortDescription>sample string 15</ShortDescription>
    <SurveyTeamID>1</SurveyTeamID>
    <TypeOfAdversity>sample string 11</TypeOfAdversity>
    <TypeOfSeed>sample string 5</TypeOfSeed>
    <Village>sample string 21</Village>
    <YieldExpectedCompareToLast>sample string 20</YieldExpectedCompareToLast>
  </MTAInvestigationResponse>
  <MTASurveyTeamResponse>
    <DOMMTASurveyTeamResponse>
      <ContactNumber>1</ContactNumber>
      <Designation>sample string 4</Designation>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <LastUpdatedDate>2024-12-29T02:19:09.9131055+05:30</LastUpdatedDate>
      <MTAResponseID>2</MTAResponseID>
      <Name>sample string 3</Name>
    </DOMMTASurveyTeamResponse>
    <DOMMTASurveyTeamResponse>
      <ContactNumber>1</ContactNumber>
      <Designation>sample string 4</Designation>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <LastUpdatedDate>2024-12-29T02:19:09.9131055+05:30</LastUpdatedDate>
      <MTAResponseID>2</MTAResponseID>
      <Name>sample string 3</Name>
    </DOMMTASurveyTeamResponse>
    <DOMMTASurveyTeamResponse>
      <ContactNumber>1</ContactNumber>
      <Designation>sample string 4</Designation>
      <ID>1</ID>
      <IsActive>true</IsActive>
      <LastUpdatedBy>sample string 5</LastUpdatedBy>
      <LastUpdatedDate>2024-12-29T02:19:09.9131055+05:30</LastUpdatedDate>
      <MTAResponseID>2</MTAResponseID>
      <Name>sample string 3</Name>
    </DOMMTASurveyTeamResponse>
  </MTASurveyTeamResponse>
  <Remarks>sample string 2</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 3</UserName>
</DOMMIDTermRespons>

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 'DOMMIDTermRespons'.

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>