Data_Processing_Basis in CRM consent management REST API
The official documentation for storing GDPR consent programatically through REST API is incorrect.
- "Data_Processing_Basis_Details": {
- "Contact_Through_Email": true,
- "Contact_Through_Social": true,
- "Consent_Through": "Email",
- "Contact_Through_Survey": true,
- "Data_Processing_Basis": "Obtained",
- "Contact_Through_Phone": true,
- "Consent_Date": "2018-04-18",
- "Consent_Remarks": "fgvhbjnm"
- }
The "Data_Processing_Basis" property has invalid value; it should be "Consent - Obtained". Otherwise the API fails.
This is hard do debug, given the Data Processing Basis feature is no available in CRM Sandbox and the docs suggest a wrong value.