Consent Integration Events

You can use integration workflows to automate consent events to push updates from your OneTrust tenant to third-party systems. Currently, there are seven events available for use within Integrations, which require additional settings and configuration in other parts of the application.

To create a consent integration event

  1. On the Integrations menu, select Integrations.

    The Integrations screen appears.

  2. Click the Add integration button.

    The Add Integration modal appears.

  3. Complete the fields, then click the Add button.

    The Integration builder screen appears.

  4. Under Add OneTrust trigger, select Consent. The list of consent triggers appear.
  5. Select the appropriate consent trigger for your use case.


  6. Build your workflow based on your use case. For more information, see Managing Custom Integration Workflows.

To filter consent integration events

You can customize filters by adding a condition based on a purpose or a collection point:

  1. On the Integrations menu, select Integrations.

    The Integrations screen appears.

  2. Click the link in the Name column for an integration.

    The Integration builder screen appears.

  3. Under Add OneTrust trigger, select Consent. The list of consent triggers appear.
  4. Select the appropriate consent trigger for your use case.
  5. On the Builder tab, add the condition based on your use case.
    • Purpose IDs for cookie categories can be found on the Details tab of the Purpose details screen.

    • Collection point IDs are available on the Details tab of the Collection point details screen. You can also locate the collection point ID by searching for the domain name or the geolocation rule name in the Collection points screen.

Note:

If you are triggering integration workflows when connecting CMP preferences with Universal Consent & Preference Management profiles, ensure that suitable trigger filters are configured to mitigate unintended CMP preferences updates. If filters are not applied, this may result in undesired downstream data propagation.

Available consent integration events

The following integration events are available for Universal Consent & Preference Management.

Integration Event

Description

Required Settings & Configuration

Collection Point Published

This trigger generates an event each time a collection point is published.

  • On the Settings tab of the Collection point details screen, enable the Enable collection point publish events setting.

Custom Preference Update

This trigger generates an event each time the purpose preference selections change for a data subject.

  • On the Settings tab of the Collection point details screen, enable the Send data subject update events setting and select Per every change.

  • On the Settings tab of the Preference center details screen, enable the Enable Preference Center events setting.

Data Subject Consent Updated

This trigger generates an event for each purpose line item, also known as a transaction, when a data subject interacts with a collection point.

Note:

Data subject updates made through the Create data subject button and the POST datasubjects/dataelements API will not fire this event.

If a collection point or preference center has delta-type consent integration events enabled, Data Subject Consent Updated will only fire when a data subject is created. After its creation, only the delta-type events will fire.

Note:

As an alternative, it is strongly recommended to use the Data Subject Profile Updated integration event.

  • On the Settings tab of the Collection point details screen, enable the Send data subject update events setting and select Per transaction.

Data Subject Deleted

This trigger generates an event for each data subject that is deleted.

  • On the Consent Settings screen in Global Settings, enable the following settings:

    • Enable data subject deletion

    • Enable data subject deleted events

Data Subject Element Update

This trigger generates an event each time the value of a data element changes for a data subject.

  • On the Settings tab of the Collection point details screen, enable the Send data subject update events setting and select Per every change.

  • On the Settings tab of the Preference center details screen, enable the Enable Preference Center events setting.

Data Subject Merge Completed

This trigger generates an event each time a data subject merge is completed.

No setting configurations required.

Data Subject Profile Updated

This trigger generates a single event that includes all purpose line items when a data subject interacts with a collection point.

Note:

Data Subject updates made through the Create data subject button and the POST datasubjects/dataelements API will not fire this event.

If a collection point or preference center has delta-type consent integration events enabled, Data Subject Profile Updated will only fire when a data subject is created. After its creation, only the delta-type events will fire.

  • On the Settings tab of the Collection point details screen, enable the Send data subject update events setting and select Per receipt.

Purpose Published

This trigger generates an event each time a new version of a purpose is published.

  • On the Settings tab of the Collection point details screen, enable the Send data subject update events setting and select Per every change.

  • On the Settings tab of the Preference center details screen, enable the Enable Preference Center events setting.

Purpose Update

This trigger generates an event each time the consent status of a purpose changes for a data subject.

  • On the Settings tab of the Collection point details screen, enable the Send data subject update events setting and select Per every change.

  • On the Settings tab of the Preference center details screen, enable the Enable Preference Center events setting.

Consent Integration Events Sample Payloads

The following sample payloads show the data that is sent for each of the available consent integration events.

Collection Point Published

PYTHON
{
    "payload": {
      "collectionPointPublishedTime": "2023-10-20T14:25:35.807426499",
      "collectionPointIntegrationEventPayload": {
        "id": "COLLECTION_POINT_GUID (This  will be OT collection point guid from the consent module)",
        "version": "COLLECTION_POINT_VERSION",
        "name": "Test Collection Point",
        "status": "ACTIVE",
        "collectionPointType": "API",
        "consentType": "CONDITIONALTRIGGER",
        "description": "Test",
        "subjectIdentifier": "Email Address",
        "identifierDataElement": {
          "guid": "DATA_ELEMENT_GUID (This  will be the specific data element id from the OT consent module)",
          "createdDate": "2022-09-06T14:16:05.667Z",
          "lastModifiedDate": "2022-09-06T14:16:05.667Z",
          "label": "Email Address",
          "languages": []
        },
        "createDate": "2023-10-20T14:25:29.9",
        "activationDate": "2023-10-20T14:25:35.412667279",
        "organizationId": "ORGANIZATION_GUID (This  will be the organization id from the OT environment)",
        "doubleOptIn": false,
        "lastActivityDate": "2023-10-19T21:00:00",
        "isAuthenticationRequired": false,
        "createdBy": "USER_GUID (This  will be the id of the user who created the collection point in the consent module)",
        "lastModifiedBy": "USER_GUID (This will be the id of the user who last modified the collection point in the consent module)",
        "publishedBy": "USER_GUID (This will be the id of the user who published the collection point in the consent module)",
        "dataElements": [],
        "jwtToken": {
          "token": "JWT_TOKEN (This will be the JWT token of the collection point in the OT consent module)"
        },
        "purposes": [
          {
            "id": "PURPOSE_GUID1 (ID of the purposes added to the OT collection point)",
            "label": "Test Purpose1",
            "description": "Test Purpose1",
            "status": "ACTIVE (Current status of the collection point)",
            "version": 2,
            "consentLifeSpan": 0,
            "purposeType": "STANDARD",
            "createdBy": "USER_GUID (This will be the id of the user who created the purpose in the consent module)",
            "createdDate": "2023-05-11T16:38:08.860Z",
            "lastModifiedDate": "2023-05-11T16:38:14.417Z",
            "publishedBy": "USER_GUID (This  will be the id of the user who last modified the purpose in the consent module)",
            "publishedDate": "2023-05-11T16:38:14.413Z",
            "customPreferences": [
              {
                "id": "CUSTOM_PREFERENCE_GUID1 (This will be the id of the custom preference attached to PURPOSE_GUID1)",
                "name": "Test Purpose2",
                "displayAs": "CHECKBOXES",
                "customPreferenceOptions": [
                  {
                    "id": "CUSTOM_PREFERENCES_OPTION_GUID1 (Id of the custom preferences option)",
                    "label": "Newsletters (Name of the custom preferences option)"
                  }
                ]
              }
            ],
            "organizations": [
              "ORGANIZATION_GUID"
            ]}]
      }}}

Custom Preference Update

JSON
{
    "payload": {
      "dataSubjectGuid": "69407964-99fa-XXXX-XXXX-XXXXXXXX",
      "dataSubjectIdentifier": "example144@otprivacy.com",
      "purposeGuid": "47ae61ab-9cef-XXXX-XXXX-XXXXXXXX",
      "collectionPointGuid": "a097cb28-0aae-XXXX-XXXX-XXXXXXXX",
      "collectionPointVersion": 35,
      "customPreferenceDelta": {
        "customPreferenceOptionGuid": "a2d4d011-2396-XXXX-XXXX-XXXXXXXX",
        "name": "Test Custom Preference",
        "value": "Brand",
        "status": "OPTED_OUT"
      }
    },
    "userDetails": {
      "tenantGuid": "1d573e23-5b43-XXXX-XXXX-XXXXXXXX"
    },
    "integrationId": null,
    "workflowId": "5159158b-be5d-XXXX-XXXX-XXXXXXXX"
  }
JSON
{
    "payload": {
      "dataSubjectEmail": "bob@email.com",
      "purposeId": "94e78e7e-7f1e-XXXX-XXXX-XXXXXXXX (ID of the purpose that the data subject consented to in OT)" ,
      "purposeVersion": 1,
      "collectionPointGuid": "51eb364f-fd7d-XXXX-XXXX-XXXXXXXX (ID of the collection point that the data subject's consent was recorded in)",
      "collectionPointVersion": 1,
      "preferences": {
        "topics": [
          {
            "topicGuid": "6e205fe4-3327-XXXX-XXXX-XXXXXXXX",
            "integrationKey": "BR_TopicSubscription_1711_CommandandSignaling",
            "value": true
          }]
      },
      "contact": {
        "Language": "en-GB",
        "EmailAddress": "Test@test.com",
        "MagicLink": "string_value",
        "FirstName": "firstname of the data subject recorded in OT",
        "LastName": "lastname of the data subject recorded in OT",
        "Email": "bob@email.com (Email address of the data subject recorded in OT)",
        "Address": "address of the data subject recorded in OT",
        "Mobile": "1234567890",
        "CompanyName": "companyname of the data subject recorded in OT",
        "Country": "country of the data subject recorded in OT",
        "City": "city of the data subject recorded in OT",
        "Zip": "zipcode of the data subject recorded in OT"
      },
      "profile": {
        "FirstTransaction": "1576757888",
        "LastTransaction": "1576757888",
        "TransactionStatus": "ACTIVE",
        "ConsentDate": "1576757888",
        "ActivationDate": "1576757888",
        "ExpiryDate": "1576757888",
        "CalculatedExpiryDate": "1576757888",
        "DoubleOptInConsent": "N"
      }}
  }

Data Subject Deleted

JSON
{
    "payload": {
      "dataSubjectIdentifier": "testDeleteDataSubject@ot.com (primary identifier of the deleted data subject)",
      "deleteDataSubjectTime": "2019-04-29T11:52:27.642+0000 (Date-Time of the deletion request)"
    },
    "userDetails": {
      "tenantGuid": "TENANT_GUID (Tenant Guid where the data subject was deleted from)",
      "userId": "USER_GUID (Id of the user who deleted the data subject)",
      "role": "Site Admin (Role of the user)",
      "email": "Test@onetrust.com (email address of the user)",
      "originalHost": "trial.onetrust.com (base url of the OT environment)"
    },
    "integrationId": null,
    "workflowId": "585ebcfb-6150-XXXX-XXXX-XXXXXXXX (ID of the configured workflow)"
  }

Data Subject Element Update

JSON
{
    "payload": {
      "dataSubjectIdentifier": "testDeleteDataSubject@ot.com",
      "collectionPointGuid": "a0f703fa-2d6a-XXXX-XXXX-XXXXXXXX(This will be an OT-assigned GUID of the OT collection point where the data element is stored and updated)",
      "collectionPointVersion": "1 (Collection Point version)",
      "elementDelta": [
        {
          "guid": "6ed69adf-51a3-XXXX-XXXX-XXXXXXXXXX(This will be an OT-assigned GUID of updated data element1)",
          "name": "Phone",
          "value": "45554454456er"
        },
        {
          "guid": "6ed69adf-51a3-XXXX-XXXX-XXXXXXXXXX (This will be an OT-assigned GUID of updated data element2)",
          "name": "Email",
          "value": "Test@test.com "
        }]
    },
    "userDetails": {
      "tenantGuid": "TENANT_ID (This will be the ID of the OT tenant)",
      "userId": "104d9079-ff7c-XXXX-XXXX-XXXXXXXX (Id of the user who updated data element in OT)",
      "role": "Site Admin (Role of User who updated data element in OT)",
      "email": "Test@onetrust.com (Email of User who updated data element on OT)"
    },
    "workflowId": "585ebcfb-6150-XXXX-XXXX-XXXXXXXX",
  }

Data Subject Merge Completed

JSON
{
  "id": "1b1f53d3-dc40-XXXX-XXXX-XXXXXXXXXXXX",
  "language": "en-us",
  "identifier": "example@ot.com",
  "linkToken": "jNJW2e8vm8XXXXXlWyGbZ/7PsfC+AHFNXXXXXHPGzJQ=",
  "lastUpdatedDate": "2020-01-12T16:11:25.479Z",
  "createdDate": "2020-01-12T16:11:25.479Z",
  "dataElements": [
    {
      "name": "Work Email",
      "value": "example@ot.com",
      "doNotCall": false,
      "linked": true
    }
  ],
  "purposes": [
    {
      "id": "f2229953-b4b5-XXXX-XXXX-XXXXXXXXXXXX",
      "lastReceiptId": "f2229953-b4b5-XXXX-XXXX-XXXXXXXXXXXX",
      "name": "Marketing Communications",
      "version": 2,
      "status": "ACTIVE",
      "firstTransactionDate": "2020-01-05T11:34:30.974Z",
      "lastTransactionDate": "2020-01-12T16:11:25.479Z",
      "withdrawalDate": "2020-01-12T16:11:25.479Z",
      "reactivationDate": "2020-06-12T16:11:25.479Z",
      "consentDate": "2020-01-07T13:18:23.123Z",
      "expiryDate": "2020-01-07T13:18:23.123Z",
      "totalTransactionCount": 3,
      "topics": [
        {
          "id": "497c4383-2c61-XXXX-XXXX-XXXXXXXXXXXX",
          "name": "Car Marketing",
          "isConsented": true
        }
      ],
      "customPreferences": [
        {
          "id": "c4a57a38-3774-XXXX-XXXX-XXXXXXXXXXXX",
          "name": "Email Frequency",
          "options": [
            {
              "id": "ca0fc41b-b28a-XXXX-XXXX-XXXXXXXXXXXX",
              "name": "Weekly",
              "isConsented": true
            }
          ]
        }
      ],
      "lastTransactionCollectionPointId": "3fa85f64-5717-XXXX-XXXX-XXXXXXXXXXXX",
      "lastTransactionCollectionPointVersion": 0,
      "purposeNote": {
        "noteId": "3fa85f64-5717-XXXX-XXXX-XXXXXXXXXXXX",
        "noteType": "UNSUBSCRIBE_REASON",
        "noteLanguage": "string",
        "noteText": "string",
        "isValidNote": true
      },
      "groupEffectiveStatus": [
        {
          "groupId": "3fa85f64-5717-XXXX-XXXX-XXXXXXXXXXXX",
          "effectiveStatus": "string"
        }
      ],
      "lastUpdatedDate": "2020-01-05T11:34:30.974Z",
      "lastInteractionDate": "2020-01-05T11:34:30.974Z",
      "attributes": {
        "additionalProp": [
          "string"
        ]
      },
      "geolocation": {
        "dataSubjectId": "633ba071-61b0-XXXX-XXXX-XXXXXXXXXXXX",
        "receiptGuid": "633ba071-61b0-XXXX-XXXX-XXXXXXXXXXXX",
        "country": "US",
        "state": "GA",
        "stateName": "Georgia",
        "createdDate": "2020-01-12T16:11:25.479Z"
      }
    }
  ],
  "notices": [
    {
      "id": "05e30742-7e6c-XXXX-XXXX-XXXXXXXXXXXX",
      "name": "Marketing Notice",
      "url": "https://www.onetrust.com/privacy-notice",
      "guid": "1439b150-ef4c-XXXX-XXXX-XXXXXXXXXXXX",
      "type": "EMBEDDED",
      "purposes": [
        {
          "id": "3fa85f64-5717-XXXX-XXXX-XXXXXXXXXXXX",
          "name": "string"
        }
      ],
      "privacyNoticeVersion": {
        "id": "3fa85f64-5717-XXXX-XXXX-XXXXXXXXXXXX",
        "name": "string",
        "version": 0,
        "minorVersion": 0
      },
      "collectionPoint": {
        "id": "3fa85f64-5717-XXXX-XXXX-XXXXXXXXXXXX",
        "name": "string",
        "version": 0,
        "minorVersion": 0
      }
    }
  ],
  "testDataSubject": false,
  "attachments": [
    {
      "fileName": "consent_agreement.pdf",
      "attachmentId": "a9adf402-adcd-XXXX-XXXX-XXXXXXXXXXXX"
    }
  ],
  "doNotCall": true,
  "latestGeolocation": {
    "dataSubjectId": "633ba071-61b0-XXXX-XXXX-XXXXXXXXXXXX",
    "receiptGuid": "633ba071-61b0-XXXX-XXXX-XXXXXXXXXXXX",
    "country": "US",
    "state": "GA",
    "stateName": "Georgia",
    "createdDate": "2020-01-12T16:11:25.479Z"
  },
  "latestSource": {
    "dataSubjectId": "633ba071-61b0-XXXX-XXXX-XXXXXXXXXXXX",
    "receiptGuid": "633ba071-61b0-XXXX-XXXX-XXXXXXXXXXXX",
    "type": "WEB",
    "content": "https://example.com/consent",
    "createdDate": "2020-01-12T16:11:25.479Z"
  },
  "mergedDataSubjects": [
    {
      "guid": "0a3059dc-976b-XXXX-XXXX-XXXXXXXXXXXX",
      "identifier": "child@otprivacy.com",
      "identifierType": "Cookie Unique Id"
    }
  ]

Data Subject Profile Updated

Note:

Purpose descriptions now display in rich text inside HTML tags, allowing you to include formatting and styling options.

JSON
{
  "payload": {
    "dataSubjectGuid": "95cdded3-5c20-XXXX-XXXX-XXXXXXXXXXXX",
    "dataSubjectEmail": "relationships+monitorgenerate@ot.com",
    "dataSubjectIdentifier": "relationships+monitorgenerate@ot.com",
    "dataSubjectIdentifierType": "Email",
    "dataSubjectLanguage": "en-US",
    "collectionPointGuid": "bae011d2-2c6b-XXXX-XXXX-XXXXXXXXXXXX",
    "collectionPointVersion": 1,
    "collectionPointName": "Cosmos impl 1",
    "collectionPointAttributes": {
      "Audit": [
        "a"
      ],
      "cp create": [
        "a"
      ],
      "aa1auditCPattribute": [
        "op1"
      ]
    },
    "receiptGuid": "b3f20b00-1227-XXXX-XXXX-XXXXXXXXXXXX",
    "contactFields": {
      "MagicLink": "n0JXXXXXXL6/7uHLXXXXXbTiRO7XoqT7vAncGJwhMYs=",
      "City": "",
      "Language": "en-US"
    },
    "customPayload": {
      "abc": "test"
    },
    "profiles": [
      {
        "purposeId": "bfeadb32-bc63-XXXX-XXXX-XXXXXXXXXXXX",
        "purposeVersion": 1,
        "purposeAttributes": {
          "textattribute1": [
            "a"
          ]
        },
        "purposeName": "herman impl pc",
        "purposeDescription": "<p>wed</p>",
        "collectionPointGuid": "bae011d2-2c6b-XXXX-XXXX-XXXXXXXXXXXX",
        "collectionPointVersion": 1,
        "topics": [],
        "customPreferences": [],
        "profileFields": {
          "LastInteraction": "1727982033",
          "LastUpdatedDate": "1727982033",
          "TotalTransactions": "1",
          "FirstTransaction": "1727982033",
          "ConsentDate": "1727982033",
          "TransactionStatus": "ACTIVE",
          "LastTransaction": "1727982033",
          "ActivationDate": "",
          "ExpiryDate": "1576757888",
          "CalculatedExpiryDate": "1576757888",
          "DoubleOptInConsent": "N"
        }
      },
      {
        "purposeId": "8bc1c846-a982-XXXX-XXXX-XXXXXXXXXXXX",
        "purposeVersion": 2,
        "purposeAttributes": {
          "1 edit  tt new": [
            "a"
          ]
        },
        "purposeName": "Cosmos1",
        "purposeDescription": "wed",
        "collectionPointGuid": "bae011d2-2c6b-XXXX-XXXX-XXXXXXXXXXXX",
        "collectionPointVersion": 1,
        "topics": [
          {
            "topicGuid": "8ba9b1f4-d0ef-XXXX-XXXX-XXXXXXXXXXXX",
            "integrationKey": "Cosmos1_Boats",
            "value": true
          },
          {
            "topicGuid": "a5427174-045f-XXXX-XXXX-XXXXXXXXXXXX",
            "integrationKey": "Cosmos1_Price",
            "value": true
          }
        ],
        "customPreferences": [],
        "profileFields": {
          "LastInteraction": "1727982033",
          "LastUpdatedDate": "1727982033",
          "TotalTransactions": "1",
          "FirstTransaction": "1727982033",
          "ConsentDate": "1727982033",
          "TransactionStatus": "ACTIVE",
          "LastTransaction": "1727982033",
          "ActivationDate": "",
          "ExpiryDate": "1576757888",
          "CalculatedExpiryDate": "1576757888",
          "DoubleOptInConsent": "N"
        }
      }
    ],
    "doubleOptIn": {},
    "testDataSubject": true,
    "unsubscribeAll": false,
    "consentOnBehalfOf": false,
    "agentOnBehalf": {
      "agent": "",
      "onBehalf": false
    },
    "consentString": {
      "type": "",
      "content": ""
    },
    "newDataSubject": true
  },
  "userDetails": {
      "tenantGuid": "4a78b69d-2416-XXXX-XXXX-XXXXXXXXXXXX",
      "orgGroupId": "6d11fb4e-a097-XXXX-XXXX-XXXXXXXXXXXX",
      "userId": "00000000-0000-0000-0000-000000000000"
  }
}

Purpose Published

JSON
{
  "Id": "18cd464e-e2ea-XXXX-XXXX-XXXXXXXXXXXX",
  "Label": "NewPurposeTes",
  "Description": "<p>desc</p>",
  "Status": "ACTIVE",
  "Version": 6,
  "PurposeType": "STANDARD",
  "ConsentLifeSpan": 0,
  "ImplicitConsentLifeSpan": 0,
  "PurposeCategory": {
    "id": "e439ea7c-46b1-XXXX-XXXX-XXXXXXXXXXXX",
    "value": "Campus Recruiting",
    "valueKey": "CoreConstructs.Purposes.Name.CampusRecruiting",
    "disabled": false
  },
  "Languages": [
    {
      "Name": "NewPurposeTes",
      "Description": "<p>desc</p>",
      "Language": "en-us",
      "Default": true
    }
  ],
  "Topics": [],
  "CustomPreferences": [
    {
      "Id": "c31647c6-87df-XXXX-XXXX-XXXXXXXXXXXX",
      "CustomPreferenceId": "9952b9da-63bf-XXXX-XXXX-XXXXXXXXXXXX",
      "Name": "Custom 23",
      "CustomPreferenceOptions": [
        {
          "Id": "c846ec6a-ede5-XXXX-XXXX-XXXXXXXXXXXX",
          "Label": "A",
          "Order": 0,
          "IsDefault": true
        },
        {
          "Id": "530b364b-6838-XXXX-XXXX-XXXXXXXXXXXX",
          "Label": "B",
          "Order": 1,
          "IsDefault": true
        },
        {
          "Id": "832c5afc-2606-XXXX-XXXX-XXXXXXXXXXXX",
          "Label": "C",
          "Order": 2,
          "IsDefault": false
        }
      ]
    },
    {
      "Id": "64be5da4-db84-XXXX-XXXX-XXXXXXXXXXXX",
      "CustomPreferenceId": "e61a78af-47c0-XXXX-XXXX-XXXXXXXXXXXX",
      "Name": "test",
      "CustomPreferenceOptions": [
        {
          "Id": "fc588434-fb50-XXXX-XXXX-XXXXXXXXXXXX",
          "Label": "test 1",
          "Order": 0,
          "IsDefault": true
        },
        {
          "Id": "906dbef7-dfa5-XXXX-XXXX-XXXXXXXXXXXX",
          "Label": "test 2",
          "Order": 1,
          "IsDefault": true
        },
        {
          "Id": "d0192cf3-a007-4c87-a7a9-0a36d659d9aa",
          "Label": "test 3",
          "Order": 2,
          "IsDefault": false
        },
        {
          "Id": "25fd26f9-94e2-4eb0-b3ae-feb720975126",
          "Label": "sdsads",
          "Order": 3,
          "IsDefault": false
        },
        {
          "Id": "fa57de36-001d-49c4-a588-7e617a42853c",
          "Label": "sdasda",
          "Order": 4,
          "IsDefault": false
        }
      ]
    },
    {
      "Id": "95ab6242-2924-45d0-b801-072759a5cb2e",
      "CustomPreferenceId": "29b6c1b2-8e13-4742-a144-deaec18476ac",
      "Name": "q1",
      "CustomPreferenceOptions": [
        {
          "Id": "d3cc107f-480d-4113-84d4-3737a5b05dd9",
          "Label": "1",
          "Order": 0,
          "IsDefault": false
        },
        {
          "Id": "ac3d2a8b-df8d-43fd-a751-b1d88d9971f1",
          "Label": "2",
          "Order": 0,
          "IsDefault": false
        },
        {
          "Id": "8a874db1-00de-4487-bc9c-3df5b62ab3a7",
          "Label": "3",
          "Order": 0,
          "IsDefault": false
        }
      ]
    },
    {
      "Id": "51d4fd1b-1099-4281-8c50-155f83bfa991",
      "CustomPreferenceId": "5baabe3a-5807-471a-ab5c-4b931cc854b3",
      "Name": "aj-custom-pref-1",
      "CustomPreferenceOptions": [
        {
          "Id": "9b2a29cd-65b3-45e5-b350-05a355b29bd3",
          "Label": "o1",
          "Order": 0,
          "IsDefault": false
        },
        {
          "Id": "1db0049b-8232-4dfa-a6cd-28e6ef58940f",
          "Label": "o2",
          "Order": 0,
          "IsDefault": false
        },
        {
          "Id": "612ebe5a-b972-44df-bb22-87f182c13a99",
          "Label": "o3",
          "Order": 0,
          "IsDefault": false
        }
      ]
    }
  ],
  "Organizations": [
    "6d11fb4e-a097-4b6e-9c7f-26a1566254c9"
  ],
  "ExpiryDateType": "LAST_TRANSACTION_DATE",
  "attributeValues": {
    "attributeSingleSelectValue.value19": [
      {
        "id": "cec5afd8-249b-44e1-bc7b-af4db04260b4",
        "value": "s1",
        "valueKey": "OneTrustApp.CM.Consent.Attributes.27c594e0-e65e-4abd-891c-f3b69694fc69",
        "disabled": false
      }
    ],
    "attributeTextValue.value40": [
      {
        "value": "abc",
        "disabled": false
      }
    ],
    "attributeSingleSelectValue.value13": [
      {
        "id": "7c3bab89-0766-4c45-a4e6-cc6b8b5e9683",
        "value": "u",
        "valueKey": "OneTrustApp.CM.Consent.Attributes.294596da-5eb7-40c6-82c4-ad4bdeea02fd",
        "disabled": false
      }
    ],
    "attributeTextValue.value16": [
      {
        "value": "a2ed",
        "disabled": false
      }
    ],
    "attributeSingleSelectValue.value18": [
      {
        "id": "cf4a8753-52f4-4a4f-9e5d-037173b82836",
        "value": "singleselect1",
        "valueKey": "OneTrustApp.CM.Consent.Attributes.09f604f8-a2e9-4843-8364-62545132fd47",
        "disabled": false
      }
    ],
    "attributeTextValue.value65": [
      {
        "value": "page1",
        "disabled": false
      }
    ]
  },
  "attributes": {
    "test-single-slect-2": [
      "s1"
    ],
    "new_att": [
      "u"
    ],
    "abc": [
      "abc"
    ],
    "Add Attribute": [
      "page1"
    ],
    "a2 Edit": [
      "a2ed"
    ],
    "test-singleselect": [
      "singleselect1"
    ]
  },
  "EnableGeolocation": false,
  "LastMajorVersion": 6,
  "VersionNotes": "Vendor has changed location country to Mexico.",
  "IsMajorVersion": true
}

Purpose Update

JSON
{
    "payload": {
      "dataSubjectGuid": "f4e149e5-1869-XXXX-XXXX-XXXXXXXX",
      "dataSubjectIdentifier": "example@122otprivacy.com",
      "purposeGuid": "902e7ce8-dc8f-XXXX-XXXX-XXXXXXXX",
      "collectionPointGuid": "a097cb28-0aae-XXXX-XXXX-XXXXXXXX",
      "collectionPointVersion": 32,
      "status": "ACTIVE"
    },
    "userDetails": {
      "tenantGuid": "1d573e23-5b43-XXXX-XXXX-XXXXXXXX"
    },
    "workflowId": "5159158b-be5d-XXXX-XXXX-XXXXXXXX"
  }