POST api/GDPR/GetGDPRLatestConsents

Gets GDPR Consent Records.

Request Information

URI Parameters

None.

Body Parameters

GDPR Get Consents Request.

GetGDPRLatestConsentsRequest
NameDescriptionTypeAdditional information
EntityType

integer

None.

EntityRequests

Dictionary of integer [key] and date [value]

None.

Auth

string

Required

RSAAuth

HybridEncrypted

None.

CustomerId

globally unique identifier

None.

RSA

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityType": 1,
  "EntityRequests": {
    "$id": "2",
    "1": "2026-05-17T01:34:29.1705233+00:00",
    "3": "2026-05-17T01:34:29.1705233+00:00"
  },
  "Auth": "sample string 2",
  "RSAAuth": {
    "$id": "3",
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "be698380-1520-42b1-9330-d7c5b745f5f9",
  "RSA": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{
  "EntityType": 1,
  "EntityRequests": {
    "1": "2026-05-17T01:34:29.1705233+00:00",
    "3": "2026-05-17T01:34:29.1705233+00:00"
  },
  "Auth": "sample string 2",
  "RSAAuth": {
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "be698380-1520-42b1-9330-d7c5b745f5f9",
  "RSA": true
}

Response Information

Resource Description

The consents ConsentGiven and ResponseOn

GetGDPRLatestConsentsResponse
NameDescriptionTypeAdditional information
Consents

Collection of ConsentInfo

None.

Auth

string

Required

RSAAuth

HybridEncrypted

None.

CustomerId

globally unique identifier

None.

RSA

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Consents": [
    {
      "$id": "2",
      "EntityId": 1,
      "ConsentGiven": true,
      "ResponseOn": "2026-05-17T01:34:29.1705233+00:00",
      "UserId": "6c69b126-4c7a-4ac9-8e4e-7f02f0fb0d85"
    },
    {
      "$ref": "2"
    }
  ],
  "Auth": "sample string 1",
  "RSAAuth": {
    "$id": "3",
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "56d1a380-6983-4442-a6c6-751c69e36113",
  "RSA": true
}

text/html

Sample:
{
  "Consents": [
    {
      "EntityId": 1,
      "ConsentGiven": true,
      "ResponseOn": "2026-05-17T01:34:29.1705233+00:00",
      "UserId": "6c69b126-4c7a-4ac9-8e4e-7f02f0fb0d85"
    },
    {
      "EntityId": 1,
      "ConsentGiven": true,
      "ResponseOn": "2026-05-17T01:34:29.1705233+00:00",
      "UserId": "6c69b126-4c7a-4ac9-8e4e-7f02f0fb0d85"
    }
  ],
  "Auth": "sample string 1",
  "RSAAuth": {
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "56d1a380-6983-4442-a6c6-751c69e36113",
  "RSA": true
}