POST v1/PolicyActions/{policyId}/IntentToCancel
Record an intent to cancel against an existing policy. The policy must be active or expired; pending, cancelled, voided and deleted policies are rejected.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| policyId |
Required. Id of the policy the intent to cancel applies to |
string |
Required |
Body Parameters
Details of the intent to cancel. CancellationReasonID, IntentToCancelDate and StatusID are required.
IntentToCancelActionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CancellationReasonID |
Required. Id of the cancellation reason. Valid values come from the policy cancellation reasons list. |
integer |
None. |
| Description |
Free form description of the intent to cancel |
string |
None. |
| IntentToCancelDate |
Required. Date the intent to cancel takes effect |
date |
None. |
| StatusID |
Required. Id of the intent-to-cancel workflow status. Valid values are returned by GET v1/Locations/{locationID}/Policies/IntentToCancelStatuses. Every office is seeded with three defaults: "Cancelled", "Carrier Declined" and "Waiting on Customer"; agencies may configure additional statuses. |
integer |
None. |
Request Formats
application/json, text/json
{
"CancellationReasonID": 1,
"Description": "sample string 1",
"IntentToCancelDate": "2026-09-19T09:43:15.0814694+00:00",
"StatusID": 1
}
application/x-www-form-urlencoded
Form URL encoded content is supported for requests. The form keys are the property names shown in the JSON sample, nested as Property.Child and Collection[0].Property.
application/xml, text/xml
<IntentToCancelActionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Policies"> <CancellationReasonID>1</CancellationReasonID> <Description>sample string 1</Description> <IntentToCancelDate>2026-09-19T09:43:15.0814694+00:00</IntentToCancelDate> <StatusID>1</StatusID> </IntentToCancelActionDTO>
Response Information
Resource Description
Action result indicating whether the intent to cancel was recorded
ActionResultDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess |
Signifies whether action is successful |
boolean |
None. |
| ErrorCode |
Error code |
string |
None. |
| ErrorMessage |
Error message |
string |
None. |
| InfoMessage |
Information message |
string |
None. |
Response Formats
application/json, text/json
{
"IsSuccess": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"InfoMessage": "sample string 4"
}
application/xml, text/xml
<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>