POST v1/Policies/Endorsements/UpdateApproved

Update approved endorsements

Request Information

URI Parameters

None.

Body Parameters

Data for updating approved endorsements

UpdateApprovedPolicyEndorsementRequestDTO
NameDescriptionTypeAdditional information
EndorsementId

integer

None.

Description

string

None.

ReasonIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EndorsementId": 1,
  "Description": "sample string 2",
  "ReasonIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<UpdateApprovedPolicyEndorsementRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies">
  <Description>sample string 2</Description>
  <EndorsementId>1</EndorsementId>
  <ReasonIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:short>1</d2p1:short>
    <d2p1:short>2</d2p1:short>
  </ReasonIds>
</UpdateApprovedPolicyEndorsementRequestDTO>

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

Response Information

Resource Description

None.