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

PolicyDetailsPersonalInlandMarineCoverageInfoDTO
NameDescriptionTypeAdditional information
CoverageInfoID

Coverage info Id

integer

None.

PolicyDetailsID

Policy details Id

integer

None.

ClassCode

Class code

string

None.

ClassDescription

Class description

string

None.

Exhibited

Exhibited

boolean

None.

InVault

In vault

boolean

None.

BlanketCoverage

Blanket coverage

boolean

None.

ProfCommUse

Prof comm use

boolean

None.

LossSettlement

Loss settlement

string

None.

Deductible

Deductible

integer

None.

AmountOfInsurance

Amount of insurance

integer

None.

Rate

Rate

decimal number

None.

Premium

Premium

decimal number

None.

LocationName

Display only - not saved nor used in equals

string

None.

LocationAddress

Display only - not saved nor used in equals

string

None.

LocationID

Id of the location

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/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 'PolicyDetailsPersonalInlandMarineCoverageInfoDTO'.

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>

Response Information

Resource Description

Upserting result with upserted coverage information

ActionResultDTOOfPolicyDetailsPersonalInlandMarineCoverageInfoDTO
NameDescriptionTypeAdditional information
Result

PolicyDetailsPersonalInlandMarineCoverageInfoDTO

None.

CreatedBy

string

None.

EntityID

integer

None.

RowSource

string

None.

PolicyID

integer

None.

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:
{
  "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>