POST api/GDPR/GetGDPRLatestConsent

Get a GDPR Consent Record.

Request Information

URI Parameters

None.

Body Parameters

GDPR Get Consent Request.

GetGDPRLatestConsentRequest
NameDescriptionTypeAdditional information
EntityType

integer

None.

EntityId

integer

None.

Requested

date

None.

RequestUserId

globally unique identifier

None.

Auth

string

Required

RSAAuth

HybridEncrypted

None.

CustomerId

globally unique identifier

None.

RSA

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityType": 1,
  "EntityId": 2,
  "Requested": "2026-05-17T01:34:01.7800986+00:00",
  "RequestUserId": "2ff76cfa-e3b4-4c3e-bc3b-0097607fdb1e",
  "Auth": "sample string 5",
  "RSAAuth": {
    "$id": "2",
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "243f199f-6168-4377-939f-b72a458f3eb8",
  "RSA": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{
  "EntityType": 1,
  "EntityId": 2,
  "Requested": "2026-05-17T01:34:01.7800986+00:00",
  "RequestUserId": "2ff76cfa-e3b4-4c3e-bc3b-0097607fdb1e",
  "Auth": "sample string 5",
  "RSAAuth": {
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "243f199f-6168-4377-939f-b72a458f3eb8",
  "RSA": true
}

Response Information

Resource Description

Whether consent has been given (true or false) and the Response Date.

GetGDPRLatestConsentResponse
NameDescriptionTypeAdditional information
ConsentGiven

boolean

None.

ResponseOn

date

None.

Auth

string

Required

RSAAuth

HybridEncrypted

None.

CustomerId

globally unique identifier

None.

RSA

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ConsentGiven": true,
  "ResponseOn": "2026-05-17T01:34:01.7957213+00:00",
  "Auth": "sample string 1",
  "RSAAuth": {
    "$id": "2",
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "55938da7-1040-4051-8cbc-5925e3e70ad2",
  "RSA": true
}

text/html

Sample:
{
  "ConsentGiven": true,
  "ResponseOn": "2026-05-17T01:34:01.7957213+00:00",
  "Auth": "sample string 1",
  "RSAAuth": {
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "55938da7-1040-4051-8cbc-5925e3e70ad2",
  "RSA": true
}