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/v67.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
Type

string

Description
The ID of the traceable loyalty ledger. Processes all the pending traceable ledgers for the loyalty program member associated with the traceability ID.
loyaltyProgramMemberId
Type

string

Description
The ID of the loyalty program member for whom you want to trace pending traceable ledgers.

Outputs

Output Details
loyaltyProgramMemberId
Type

string

Description
The ID of the loyalty program member whose pending traceable ledgers are processed.
numberOfTracesProcessed
Type

integer

Description
The number of traceable loyalty ledgers processed for a loyalty program member.

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}