Newer Version Available
Map Traceable Points for Redemption Transactions Action
Maps Debit type loyalty ledgers to Credit type loyalty ledgers for loyalty ledger
traceability records that are pending.
This action is available in API version 66.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v66.0/actions/standard/mapTraceablePtForRedemTrxn
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearertoken
Inputs
Either LoyaltyLedgerTraceabilityId or MemberId is required. If both are provided and the MemberId doesn’t belong to the specified LoyaltyLedgerTraceabilityId, an error is returned.
| Input | Details |
|---|---|
| loyaltyLedgerTraceabilityId |
|
| loyaltyProgramMemberId |
|
Outputs
| Output | Details |
|---|---|
| loyaltyProgramMemberId |
|
| numberOfTracesProcessed |
|
Example
- POST
-
Here's a sample request for the Map Traceable Points for Redemption Transactions action.
1{ 2 "inputs": [ 3 { 4 "loyaltyLedgerTraceabilityId": "0ltRM0000008Abc2AE", 5 "loyaltyProgramMemberId": "0lMRM0000004Eqv2AE" 6 } 7 ] 8} -
Here's a sample response for the Map Traceable Points for Redemption Transactions action.
1{ 2 "actionName": "mapTraceablePtForRedemTrxn", 3 "errors": null, 4 "isSuccess": true, 5 "outputs": { 6 "loyaltyProgramMemberId": "0lMRM0000004Eqv2AE", 7 "numberOfTracesProcessed": 5 8 } 9}