Consent for the collection of personal information, cancellation, data protection laws, and marketing data is divided into three main topics with the following information:
Viewing consent information
This involves viewing a user's consent information to see which version they have agreed to, the channels through which they have received marketing information, and if there is a need to update their consent information. This can be called using the API Get Consent Status.
curl --location --request GET 'https://buzzebees-dev.azure-api.net/api/consent'
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'
--header 'Ocp-Apim-Subscription-Key: {Subscription-Key}'
--header 'Ocp-Apim-Trace: 1 '
--header 'App-Id: {App-Id}'
--header 'Authorization: token {token}'
Normally, this information is called before accessing the app's homepage, or when users want to view their consent information.
Updating consent information
Consent information needs to be updated when there are changes in the terms and conditions, privacy policies, or for users who have previously cancelled their subscription and want to use the application again. Normally, this information is called before accessing the app's homepage, or when users want to view their consent information. An example of updating consent information is shown below, displaying information of the new version being updated.
Once all the required information is displayed and the user has agreed to the terms and conditions, call the API Set Consent or use the following CURL example.
curl --location --request POST 'https://buzzebees-dev.azure-api.net/api/consent'
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'
--header 'Ocp-Apim-Subscription-Key: {Subscription-Key}'
--header 'Ocp-Apim-Trace: 1 '
--header 'App-Id: {App-Id}'
--header 'Authorization: token {token}'
--form 'termandcondition="1"'
--form 'dataprivacy="1"'
--form 'marketingOption="1"'
--form 'consentAge="20"'
--form 'email="true"'
--form 'sms="true"'
--form 'notification="true"'
--form 'line="true"'
--form 'phone="true"'
Unconsent
To cancel various consents or temporary membership in the system, there must first be a pop-up window to confirm the cancellation. It is necessary to inform users of the various rights that will be lost upon cancellation before they can proceed with the cancellation.
More information on cancelling membership can be found in the API Unconsent.
curl --location --request POST 'https://buzzebees-dev.azure-api.net/api/consent/unconsent'
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'
--header 'Ocp-Apim-Subscription-Key: {Subscription-Key}'
--header 'Ocp-Apim-Trace: 1 '
--header 'App-Id: {App-Id}'
--header 'Authorization: token {token}'
The following UI is an example of cancelling membership before calling the API Unconsent. After a successful call, users will not be able to log in. If users wish to use the service again, they must contact the system administrator to unlock their account and agree to the privacy policy and other related information again.