POST v1/Policies/Details/ProfessionalLiability/Coverages

Creates new prof liab coverages

Request Information

URI Parameters

None.

Body Parameters

Coverages

ProfLiabCoveragesDTO
NameDescriptionTypeAdditional information
PolicyDetailsID

integer

None.

EachClaim

string

None.

RetroDate

date

None.

PropRetroDate

date

None.

RetroDateString

string

None.

PropRetroDateString

string

None.

EachOccurrence

string

None.

Aggregate

string

None.

RetainedLimit

string

None.

Deductible

string

None.

ExpiringPolicyNo

string

None.

Type

string

None.

DefenceIncludedInLimit

string

None.

FirstDollarDefense

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyDetailsID": 1,
  "EachClaim": "sample string 2",
  "RetroDate": "2024-12-11T06:45:57.9128224+00:00",
  "PropRetroDate": "2024-12-11T06:45:57.9128224+00:00",
  "RetroDateString": "12/11/2024",
  "PropRetroDateString": "12/11/2024",
  "EachOccurrence": "sample string 3",
  "Aggregate": "sample string 4",
  "RetainedLimit": "sample string 5",
  "Deductible": "sample string 6",
  "ExpiringPolicyNo": "sample string 7",
  "Type": "sample string 8",
  "DefenceIncludedInLimit": "sample string 9",
  "FirstDollarDefense": "sample string 10"
}

application/xml, text/xml

Sample:
<ProfLiabCoveragesDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies.PolicyDetail.ProfessionalLiability">
  <Aggregate>sample string 4</Aggregate>
  <Deductible>sample string 6</Deductible>
  <DefenceIncludedInLimit>sample string 9</DefenceIncludedInLimit>
  <EachClaim>sample string 2</EachClaim>
  <EachOccurrence>sample string 3</EachOccurrence>
  <ExpiringPolicyNo>sample string 7</ExpiringPolicyNo>
  <FirstDollarDefense>sample string 10</FirstDollarDefense>
  <PolicyDetailsID>1</PolicyDetailsID>
  <PropRetroDate>2024-12-11T06:45:57.9128224+00:00</PropRetroDate>
  <RetainedLimit>sample string 5</RetainedLimit>
  <RetroDate>2024-12-11T06:45:57.9128224+00:00</RetroDate>
  <Type>sample string 8</Type>
</ProfLiabCoveragesDTO>

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 'ProfLiabCoveragesDTO'.

Response Information

Resource Description

Creation result

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>