Newer Version Available

This content describes an older version of this product. View Latest

Accrual Cancellation Actions

Cancel a specific set of accrual transactions.

This object is available in API version 51.0 and later for users with Loyalty Management license.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/cancelAccrual
Formats
JSON, XML
HTTP Methods
GET, HEAD, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
TransactionJournalId
Type
string
Description
ID of the transaction journal.
CancellationReason
Type
string
Description
The reason for accrual cancellation.
ReversalCategory
Type
string
Description
The category of accrual cancellation.

Outputs

Output Details
CancellationTransactionJournalId
Type
string
Description
The ID of the cancellation transaction journal generated after the request is successful.

Example

Sample Request

1{
2   "inputs":[ 
3      {
4        "TransactionJournalId":"0lvxx00004000001AAA",
5        "CancellationReason":"Duplicate Accrual",
6      }
7   ]
8}

Sample Response

1{
2   "errors":null,
3   "isSuccess":true,
4   "outputValues":{ 
5        "CancellationTransactionJournalId":"0lvxx00004000001AAB"
6   }
7}