POST v1/Policies/Details/ProfessionalLiability/AddlCoverages

Request Information

URI Parameters

None.

Body Parameters

ProfLiabAddlCoveragesDTO
NameDescriptionTypeAdditional information
PolicyDetailsID

integer

None.

Coverages

Collection of CoverageDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyDetailsID": 1,
  "Coverages": [
    {
      "PolicyDetailsProfessionalLiabilityAdditionalCoverageMappingId": 1,
      "PolicyDetailsId": 1,
      "Name": "sample string 2",
      "Limit1": "sample string 3",
      "Limit2": "sample string 4",
      "Deductible": "sample string 5"
    },
    {
      "PolicyDetailsProfessionalLiabilityAdditionalCoverageMappingId": 1,
      "PolicyDetailsId": 1,
      "Name": "sample string 2",
      "Limit1": "sample string 3",
      "Limit2": "sample string 4",
      "Deductible": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<ProfLiabAddlCoveragesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.ProfessionalLiability">
  <Coverages>
    <CoverageDTO>
      <Deductible>sample string 5</Deductible>
      <Limit1>sample string 3</Limit1>
      <Limit2>sample string 4</Limit2>
      <Name>sample string 2</Name>
      <PolicyDetailsId>1</PolicyDetailsId>
      <PolicyDetailsProfessionalLiabilityAdditionalCoverageMappingId>1</PolicyDetailsProfessionalLiabilityAdditionalCoverageMappingId>
    </CoverageDTO>
    <CoverageDTO>
      <Deductible>sample string 5</Deductible>
      <Limit1>sample string 3</Limit1>
      <Limit2>sample string 4</Limit2>
      <Name>sample string 2</Name>
      <PolicyDetailsId>1</PolicyDetailsId>
      <PolicyDetailsProfessionalLiabilityAdditionalCoverageMappingId>1</PolicyDetailsProfessionalLiabilityAdditionalCoverageMappingId>
    </CoverageDTO>
  </Coverages>
  <PolicyDetailsID>1</PolicyDetailsID>
</ProfLiabAddlCoveragesDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultDTO
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

InfoMessage

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>