POST v1/Policies/Details/ProfessionalLiability/AddlCoverages
Creates new prof liab addl coverages
Request Information
URI Parameters
None.
Body Parameters
Addl coverages
ProfLiabAddlCoveragesDTOName | Description | Type | Additional information |
---|---|---|---|
PolicyDetailsID | integer |
None. |
|
Coverages | Collection of ProfessionalLiabilityCoverageDTO |
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> <ProfessionalLiabilityCoverageDTO> <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> </ProfessionalLiabilityCoverageDTO> <ProfessionalLiabilityCoverageDTO> <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> </ProfessionalLiabilityCoverageDTO> </Coverages> <PolicyDetailsID>1</PolicyDetailsID> </ProfLiabAddlCoveragesDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Creation result
ActionResultDTOName | Description | Type | Additional 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>