POST api/WeatherCCE/CreateAdHocCC
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:23:37.1736144+05:30", "ActionLongitude": 1.1, "ActionLattitude": 1.1 }
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:23:37.1736144+05:30","ActionLongitude":1.1,"ActionLattitude":1.1}
application/xml, text/xml
Sample:
<DOMAdHocCCCreation 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> <AssesmentTypeID>2</AssesmentTypeID> <ContactoftheGovernmentOfficial>sample string 14</ContactoftheGovernmentOfficial> <CropID>5</CropID> <DistrictID>4</DistrictID> <ExpectedDateofCCE>2024-12-29T02:23:37.1736144+05:30</ExpectedDateofCCE> <LocaleID>10</LocaleID> <NameoftheGovernmentofficial>sample string 13</NameoftheGovernmentofficial> <ReferenceUnitID>9</ReferenceUnitID> <RequestID>sample string 11</RequestID> <SchemeID>8</SchemeID> <SeasonID>7</SeasonID> <StateID>3</StateID> <UserName>sample string 1</UserName> <Village>sample string 12</Village> <YearID>6</YearID> </DOMAdHocCCCreation>
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>