POST api/WeatherCCE/CreateAdHocLCPH
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, "LocaleID": 10, "RequestID": "sample string 11", "Village": "sample string 12", "NameoftheGovernmentofficial": "sample string 13", "ContactoftheGovernmentOfficial": "sample string 14", "ExpectedDateofCCE": "2024-12-29T02:28:19.5773459+05:30", "ActionLongitude": 1.1, "ActionLattitude": 1.1, "PolicyNumber": "sample string 15", "ApplicationNumber": "sample string 16", "FarmerName": "sample string 17", "TypeOfSurvey": "sample string 18" }
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,"LocaleID":10,"RequestID":"sample string 11","Village":"sample string 12","NameoftheGovernmentofficial":"sample string 13","ContactoftheGovernmentOfficial":"sample string 14","ExpectedDateofCCE":"2024-12-29T02:28:19.5773459+05:30","ActionLongitude":1.1,"ActionLattitude":1.1,"PolicyNumber":"sample string 15","ApplicationNumber":"sample string 16","FarmerName":"sample string 17","TypeOfSurvey":"sample string 18"}
application/xml, text/xml
Sample:
<DOMAdHocLCPHCreation 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> <ApplicationNumber>sample string 16</ApplicationNumber> <AssesmentTypeID>2</AssesmentTypeID> <ContactoftheGovernmentOfficial>sample string 14</ContactoftheGovernmentOfficial> <CropID>5</CropID> <DistrictID>4</DistrictID> <ExpectedDateofCCE>2024-12-29T02:28:19.5773459+05:30</ExpectedDateofCCE> <FarmerName>sample string 17</FarmerName> <LocaleID>10</LocaleID> <NameoftheGovernmentofficial>sample string 13</NameoftheGovernmentofficial> <PolicyNumber>sample string 15</PolicyNumber> <ReferenceUnitID>9</ReferenceUnitID> <RequestID>sample string 11</RequestID> <SchemeID>8</SchemeID> <SeasonID>7</SeasonID> <StateID>3</StateID> <TypeOfSurvey>sample string 18</TypeOfSurvey> <UserName>sample string 1</UserName> <Village>sample string 12</Village> <YearID>6</YearID> </DOMAdHocLCPHCreation>
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>