POST v1/Policies/Details/PersonalInlandMarine/CoverageInfo
Upserts a coverage info for an existing Personal Inland Marine type policy.
Request Information
URI Parameters
None.
Body Parameters
Coverage info
PolicyDetailsPersonalInlandMarineCoverageInfoDTOName | Description | Type | Additional information |
---|---|---|---|
CoverageInfoID | integer |
None. |
|
PolicyDetailsID | integer |
None. |
|
ClassCode | string |
None. |
|
ClassDescription | string |
None. |
|
Exhibited | boolean |
None. |
|
InVault | boolean |
None. |
|
BlanketCoverage | boolean |
None. |
|
ProfCommUse | boolean |
None. |
|
LossSettlement | string |
None. |
|
Deductible | integer |
None. |
|
AmountOfInsurance | integer |
None. |
|
Rate | decimal number |
None. |
|
Premium | decimal number |
None. |
|
LocationName | string |
None. |
|
LocationAddress | string |
None. |
|
LocationID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CoverageInfoID": 1, "PolicyDetailsID": 2, "ClassCode": "sample string 3", "ClassDescription": "sample string 4", "Exhibited": true, "InVault": true, "BlanketCoverage": true, "ProfCommUse": true, "LossSettlement": "sample string 5", "Deductible": 1, "AmountOfInsurance": 1, "Rate": 1.1, "Premium": 1.0, "LocationName": "sample string 6", "LocationAddress": "sample string 7", "LocationID": 8 }
application/xml, text/xml
Sample:
<PolicyDetailsPersonalInlandMarineCoverageInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PersonalInlandMarine"> <LocationAddress xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 7</LocationAddress> <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">8</LocationID> <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 6</LocationName> <AmountOfInsurance>1</AmountOfInsurance> <BlanketCoverage>true</BlanketCoverage> <ClassCode>sample string 3</ClassCode> <ClassDescription>sample string 4</ClassDescription> <CoverageInfoID>1</CoverageInfoID> <Deductible>1</Deductible> <Exhibited>true</Exhibited> <InVault>true</InVault> <LossSettlement>sample string 5</LossSettlement> <PolicyDetailsID>2</PolicyDetailsID> <Premium>1</Premium> <ProfCommUse>true</ProfCommUse> <Rate>1.1</Rate> </PolicyDetailsPersonalInlandMarineCoverageInfoDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Upserting result with upserted coverage information
ActionResultDTOOfPolicyDetailsPersonalInlandMarineCoverageInfoDTOName | Description | Type | Additional information |
---|---|---|---|
Result | PolicyDetailsPersonalInlandMarineCoverageInfoDTO |
None. |
|
CreatedBy | string |
None. |
|
EntityID | integer |
None. |
|
RowSource | string |
None. |
|
PolicyID | integer |
None. |
|
IsSuccess | boolean |
None. |
|
ErrorCode | string |
None. |
|
ErrorMessage | string |
None. |
|
InfoMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "CoverageInfoID": 1, "PolicyDetailsID": 2, "ClassCode": "sample string 3", "ClassDescription": "sample string 4", "Exhibited": true, "InVault": true, "BlanketCoverage": true, "ProfCommUse": true, "LossSettlement": "sample string 5", "Deductible": 1, "AmountOfInsurance": 1, "Rate": 1.1, "Premium": 1.0, "LocationName": "sample string 6", "LocationAddress": "sample string 7", "LocationID": 8 }, "CreatedBy": "sample string 1", "EntityID": 2, "RowSource": "sample string 3", "PolicyID": 4, "IsSuccess": true, "ErrorCode": "sample string 6", "ErrorMessage": "sample string 7", "InfoMessage": "sample string 8" }
application/xml, text/xml
Sample:
<ActionResultOfPolicyDetailsPersonalInlandMarineCoverageInfoDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects"> <ErrorCode>sample string 6</ErrorCode> <ErrorMessage>sample string 7</ErrorMessage> <InfoMessage>sample string 8</InfoMessage> <IsSuccess>true</IsSuccess> <CreatedBy>sample string 1</CreatedBy> <EntityID>2</EntityID> <PolicyID>4</PolicyID> <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PersonalInlandMarine"> <LocationAddress xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 7</LocationAddress> <LocationID xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">8</LocationID> <LocationName xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">sample string 6</LocationName> <d2p1:AmountOfInsurance>1</d2p1:AmountOfInsurance> <d2p1:BlanketCoverage>true</d2p1:BlanketCoverage> <d2p1:ClassCode>sample string 3</d2p1:ClassCode> <d2p1:ClassDescription>sample string 4</d2p1:ClassDescription> <d2p1:CoverageInfoID>1</d2p1:CoverageInfoID> <d2p1:Deductible>1</d2p1:Deductible> <d2p1:Exhibited>true</d2p1:Exhibited> <d2p1:InVault>true</d2p1:InVault> <d2p1:LossSettlement>sample string 5</d2p1:LossSettlement> <d2p1:PolicyDetailsID>2</d2p1:PolicyDetailsID> <d2p1:Premium>1</d2p1:Premium> <d2p1:ProfCommUse>true</d2p1:ProfCommUse> <d2p1:Rate>1.1</d2p1:Rate> </Result> <RowSource>sample string 3</RowSource> </ActionResultOfPolicyDetailsPersonalInlandMarineCoverageInfoDTO>