Salesforce UX API icon

Salesforce UX API

(0 reviews)

NonTmf-ListRecurringCreditInfoFromAria-PR

This operation list the recurring credits associated with a specified account from Aria system, GET:/accountCredit

Note: If you are fetching data without 'crmUniqueId' ( queryParam ) then you will get all recurring credits info associated to account number.

URL
http://[localhost]:[port]/sfdc-ux/v1/{businessId}/accountCredit
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one is "PR"-Puerto Rico
Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API request
Y
targetSystemstringThis describes the end system request is for Eg: β€œAria”Y
Query Param
NameTypeDescriptionRequired
account_nostringThe unique identifier for accountY
crmUniqueIdstringThe identifier for the specific recurring credit.N
Request
http://[localhost]:[port]/sfdc-ux/v1/PR/accountCredit?account_no=<accountValue>&crmUniqueId=<crmUniqueId>
Response
[ 200 ]

OK - listRecurringCreditInfo request processed successfully, response body contains an entity corresponding to the requested resource.

[
    {
        "recurringCreditNo": "865817",
        "createDate": "2025-04-11",
        "updateDate": "2025-04-11",
        "firstCreditDate": "2025-04-11",
        "lastCreditDate": "2025-04-11",
        "nextCreditDate": "2025-06-11",
        "comments": "RecurringCredits|BAN1050523-CAN2023_IP_Promotion-1|credit presentation text in English invoice : credit presentation text in Spanish invoice|CRMuniqueID001",
        "creditsCompleted": "1",
        "creditsRemaining": "1",
        "creditIntervalMonths": "2",
        "creditIntervalTypeIndicator": "M",
        "creditStatusLabel": "Credits Created, Incomplete",
        "creditReasonText": "General Credit/Other",
        "amount": {
            "unit": "usd",
            "value": 1
        },
        "eligibleigiblePlanInstanceDetails": [
            {
                "clientPlanInstanceId": "BAN1050523-CAN2023_SPI_100",
                "clientPlanInstanceServiceId": "PR_B2C_ULT_Value_Plus_MB_Line"
            }
        ]
    }
]
Definitions
nametypedescriptionrequired
creditTypestringCredit TypeN
recurringCreditNostringThe identifier for the recurring creditN
InstallmentIdstringInstallment Id for the Promotional CreditN
createDatedatetimeThe date the recurring credit record was createdN
updateDatedatetimeThe date the recurring credit record was last updatedN
firstCreditDatedatetimeThe first date that recurring credit was applied to the accountN
lastCreditDatedatetimeThe last date that recurring credit will be applied to the accountN
nextCreditDatedatetimeThe next date that a recurring credit will be applied to the account (assuming the last_credit_date has not passed)N
creditsCompletedstringThe number of credits that have been applied to the accountN
creditsRemainingstringThe number of remaining credits to apply to the accountN
creditIntervalMonthsstringThe interval (in months) between credits to the accountN
creditIntervalTypeIndicatorstringThe type of the interval between credits to the account(months, weeks, or days)N
creditStatusLabelstringThe label for the recurring credit status code.N
creditReasonTextstringThe text description of the credit reason code.N
commentsstringFree-form comments for the credit applied to the specified account.N
amountobjectAmountN
amount.unitstringThe 3-character ISO-compliant currency code in lowercase for monetary values used in the context of this API method.N
amount.valuestringThe monetary amount of the credit to be applied for each iteration of the recurring credit sequence.N
eligibleigiblePlanInstanceDetailsarrayEligibleigible Plan Instance DetailsN
eligibleigiblePlanInstanceDetails.clientPlanInstanceIdstringThe client defined plan instance identifier.N
eligibleigiblePlanInstanceDetails.clientPlanInstanceServiceIdstringThe client defined identifier for the service associated with this plan instance.N

Reviews