PATCH v1/Quotes?QuoteNumber={QuoteNumber}&suppressDocGen={suppressDocGen}

Update Quote Partially

Request Information

URI Parameters

NameDescriptionTypeAdditional information
QuoteNumber

string

Required

suppressDocGen

suppress document generation flag

boolean

Default value is False

Body Parameters

JSON patch of the amendments to perform

JsonPatchDocument
NameDescriptionTypeAdditional information
Operations

Collection of Operation

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "path": "sample string 2",
    "op": "sample string 3"
  },
  {
    "path": "sample string 2",
    "op": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<JsonPatchDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNetCore.JsonPatch">
  <ContractResolver i:nil="true" />
</JsonPatchDocument>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Update Quote Partially

SimpleQuoteResponseDTO
NameDescriptionTypeAdditional information
QuoteId

integer

None.

QuoteNumber

string

None.

ProductId

integer

None.

Premium

decimal number

None.

CustomerId

integer

None.

UnderwritingResults

Collection of UnderwritingResultOutboundDTO

None.

WarningMessages

List of warning messages encountered while servicing request

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "QuoteId": 1,
  "QuoteNumber": "sample string 2",
  "ProductId": 1,
  "Premium": 3.0,
  "CustomerId": 1,
  "UnderwritingResults": [
    {
      "RuleCode": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "RuleCode": "sample string 1",
      "Message": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<SimpleQuoteResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GCApi.Models.Outbound">
  <Id>4</Id>
  <CustomerId>1</CustomerId>
  <Premium>3</Premium>
  <ProductId>1</ProductId>
  <QuoteId>1</QuoteId>
  <QuoteNumber>sample string 2</QuoteNumber>
  <UnderwritingResults>
    <UnderwritingResultOutboundDTO>
      <Id>3</Id>
      <Message>sample string 2</Message>
      <RuleCode>sample string 1</RuleCode>
    </UnderwritingResultOutboundDTO>
    <UnderwritingResultOutboundDTO>
      <Id>3</Id>
      <Message>sample string 2</Message>
      <RuleCode>sample string 1</RuleCode>
    </UnderwritingResultOutboundDTO>
  </UnderwritingResults>
</SimpleQuoteResponseDTO>