POST v1/PolicyCommProductsCompletedOperationsUnderwriting/{policyId}/UpsertPolicyCommProductsCompletedOperationsUnderwriting

Inserts or Updates PolicyCommProductsCompletedOperationsUnderwriting

Request Information

URI Parameters

NameDescriptionTypeAdditional information
policyId

integer

Required

Body Parameters

PolicyCommProductsCompletedOperationsUnderwritingDTO
NameDescriptionTypeAdditional information
Id

integer

None.

PolicyQuoteID

integer

None.

ApplicantInstallsServicesorDemonstratesProducts

boolean

None.

ForeignProductsSoldDistributedorUsedasComponents

boolean

None.

NewProductsRD

boolean

None.

GuaranteesWarrantiesHoldHarmlessAgreements

boolean

None.

ProductsforAircraftSpaceIndustry

boolean

None.

ProductsDiscontinuedRecalledChanged

boolean

None.

ProductsofOthers

boolean

None.

LabelofOthers

boolean

None.

VendorsCoverageRequired

boolean

None.

NamedInsuredSellstoOtherNamedInsureds

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PolicyQuoteID": 2,
  "ApplicantInstallsServicesorDemonstratesProducts": true,
  "ForeignProductsSoldDistributedorUsedasComponents": true,
  "NewProductsRD": true,
  "GuaranteesWarrantiesHoldHarmlessAgreements": true,
  "ProductsforAircraftSpaceIndustry": true,
  "ProductsDiscontinuedRecalledChanged": true,
  "ProductsofOthers": true,
  "LabelofOthers": true,
  "VendorsCoverageRequired": true,
  "NamedInsuredSellstoOtherNamedInsureds": true
}

application/xml, text/xml

Sample:
<PolicyCommProductsCompletedOperationsUnderwritingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <ApplicantInstallsServicesorDemonstratesProducts>true</ApplicantInstallsServicesorDemonstratesProducts>
  <ForeignProductsSoldDistributedorUsedasComponents>true</ForeignProductsSoldDistributedorUsedasComponents>
  <GuaranteesWarrantiesHoldHarmlessAgreements>true</GuaranteesWarrantiesHoldHarmlessAgreements>
  <Id>1</Id>
  <LabelofOthers>true</LabelofOthers>
  <NamedInsuredSellstoOtherNamedInsureds>true</NamedInsuredSellstoOtherNamedInsureds>
  <NewProductsRD>true</NewProductsRD>
  <PolicyQuoteID>2</PolicyQuoteID>
  <ProductsDiscontinuedRecalledChanged>true</ProductsDiscontinuedRecalledChanged>
  <ProductsforAircraftSpaceIndustry>true</ProductsforAircraftSpaceIndustry>
  <ProductsofOthers>true</ProductsofOthers>
  <VendorsCoverageRequired>true</VendorsCoverageRequired>
</PolicyCommProductsCompletedOperationsUnderwritingDTO>

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

Response Information

Resource Description

ActionResultDTO

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>