When usingSAP Enterprise Consent and Preference Management (ECPM)without SAP Customer Identity, the correct API call to collect consent isaccounts.setPolicies. This API allows you to update or set user preferences and consent policies directly.
Option A: Incorrect.accounts.initRegistrationis used to initialize the registration process for a new user and is unrelated to collecting consent.
Option B: Incorrect.accounts.loginis used to authenticate users and does not handle consent collection.
Option C: Correct.accounts.setPoliciesis specifically designed to manage user consent and preference policies, making it the appropriate choice for this scenario.
Option D: Incorrect.accounts.notifyLoginis used to notify SAP Customer Data Cloud about external login events and does not handle consent collection.
References:
SAP Enterprise Consent and Preference Management
accounts.setPolicies API Documentation
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit