POST v1/Policies/UpdatePolicyForms

Updates the specifed PolicyForms entry

Request Information

URI Parameters

None.

Body Parameters

PolicyFormDTO
NameDescriptionTypeAdditional information
Id

integer

None.

PolicyQuoteID

integer

None.

FormName

string

None.

FormNumber

string

None.

FromEdition

date

None.

FormIteration

integer

None.

StateID

string

None.

FormInfo

string

None.

CopyrightOwnerID

string

None.

CopyrightOwnerCode

string

None.

FormReferences

string

None.

RemoveForm

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PolicyQuoteID": 2,
  "FormName": "sample string 3",
  "FormNumber": "sample string 4",
  "FromEdition": "2024-12-13T19:18:00.367159+00:00",
  "FormIteration": 1,
  "StateID": "sample string 5",
  "FormInfo": "sample string 6",
  "CopyrightOwnerID": "sample string 7",
  "CopyrightOwnerCode": "sample string 8",
  "FormReferences": "sample string 9",
  "RemoveForm": true
}

application/xml, text/xml

Sample:
<PolicyFormDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <CopyrightOwnerCode>sample string 8</CopyrightOwnerCode>
  <CopyrightOwnerID>sample string 7</CopyrightOwnerID>
  <FormInfo>sample string 6</FormInfo>
  <FormIteration>1</FormIteration>
  <FormName>sample string 3</FormName>
  <FormNumber>sample string 4</FormNumber>
  <FormReferences>sample string 9</FormReferences>
  <FromEdition>2024-12-13T19:18:00.367159+00:00</FromEdition>
  <Id>1</Id>
  <PolicyQuoteID>2</PolicyQuoteID>
  <RemoveForm>true</RemoveForm>
  <StateID>sample string 5</StateID>
</PolicyFormDTO>

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

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>