POST v1/Policies/Details/InlandMarine/GeneralInfo
Upsert the General Info Section data for Inland Marine type policies
Request Information
URI Parameters
None.
Body Parameters
General info
PolicyDetailsInlandMarineGeneralInfoDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| PolicyDetailsID |
Id of the policy details |
integer |
None. |
| IsEquipmentRented |
Is equipment rented |
boolean |
None. |
| EquipRentedExplain |
Equipment rented explain |
string |
None. |
| IsEquipNotListed |
Is equip not listed |
boolean |
None. |
| EquipNotListedExplain |
Equip not listed explain |
string |
None. |
| IsPropertyUsedUnderground |
Is property used underground |
boolean |
None. |
| PropertyUsedUndergroundExplain |
Propery used underground explain |
string |
None. |
| IsWorkDoneAfloat |
Is work done afloat |
boolean |
None. |
| IsWorkDownAfloatExplain |
Is work done afloat explain |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PolicyDetailsID": 1,
"IsEquipmentRented": true,
"EquipRentedExplain": "sample string 2",
"IsEquipNotListed": true,
"EquipNotListedExplain": "sample string 3",
"IsPropertyUsedUnderground": true,
"PropertyUsedUndergroundExplain": "sample string 4",
"IsWorkDoneAfloat": true,
"IsWorkDownAfloatExplain": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
application/xml, text/xml
Sample:
<PolicyDetailsInlandMarineGeneralInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <EquipNotListedExplain>sample string 3</EquipNotListedExplain> <EquipRentedExplain>sample string 2</EquipRentedExplain> <IsEquipNotListed>true</IsEquipNotListed> <IsEquipmentRented>true</IsEquipmentRented> <IsPropertyUsedUnderground>true</IsPropertyUsedUnderground> <IsWorkDoneAfloat>true</IsWorkDoneAfloat> <IsWorkDownAfloatExplain>sample string 5</IsWorkDownAfloatExplain> <PolicyDetailsID>1</PolicyDetailsID> <PropertyUsedUndergroundExplain>sample string 4</PropertyUsedUndergroundExplain> </PolicyDetailsInlandMarineGeneralInfoDTO>
Response Information
Resource Description
Upsertion result
ActionResultDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess |
Signifies whether action is successful |
boolean |
None. |
| ErrorCode |
Error code |
string |
None. |
| ErrorMessage |
Error message |
string |
None. |
| InfoMessage |
Information message |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"InfoMessage": "sample string 4"
}
application/xml, text/xml
Sample:
<ActionResultDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <ErrorCode>sample string 2</ErrorCode> <ErrorMessage>sample string 3</ErrorMessage> <InfoMessage>sample string 4</InfoMessage> <IsSuccess>true</IsSuccess> </ActionResultDTO>