POST api/GDPR/CreateGDPRConsent

Create a GDPR Consent Record.

Request Information

URI Parameters

None.

Body Parameters

GDPR Create Consent Request.

CreateGDPRConsentRequest
NameDescriptionTypeAdditional information
EntityType

integer

None.

EntityIds

Collection of integer

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,
  "EntityIds": [
    1,
    2
  ],
  "RequestUserId": "8691f9d9-1d35-4b59-aa89-51a1edce61c1",
  "Auth": "sample string 3",
  "RSAAuth": {
    "$id": "2",
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "6acf0aff-e753-43ac-a049-64ce43ed72fb",
  "RSA": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

text/html

Sample:
{
  "EntityType": 1,
  "EntityIds": [
    1,
    2
  ],
  "RequestUserId": "8691f9d9-1d35-4b59-aa89-51a1edce61c1",
  "Auth": "sample string 3",
  "RSAAuth": {
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "6acf0aff-e753-43ac-a049-64ce43ed72fb",
  "RSA": true
}

Response Information

Resource Description

The Consent ID and Request Date.

CreateGDPRConsentResponse
NameDescriptionTypeAdditional information
Consents

Dictionary of globally unique identifier [key] and integer [value]

None.

RequestOn

date

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",
    "99fa54a9-3f02-49f0-baba-a526d00dd7ee": 2,
    "6cd28734-1358-40a4-aca3-5c15b780128b": 4
  },
  "RequestOn": "2026-05-17T01:28:05.1261983+00:00",
  "Auth": "sample string 2",
  "RSAAuth": {
    "$id": "3",
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "91a71370-add4-459e-8fd7-68de547da4d4",
  "RSA": true
}

text/html

Sample:
{
  "Consents": {
    "99fa54a9-3f02-49f0-baba-a526d00dd7ee": 2,
    "6cd28734-1358-40a4-aca3-5c15b780128b": 4
  },
  "RequestOn": "2026-05-17T01:28:05.1261983+00:00",
  "Auth": "sample string 2",
  "RSAAuth": {
    "Message": "sample string 1",
    "Key": "sample string 2",
    "IV": "sample string 3"
  },
  "CustomerId": "91a71370-add4-459e-8fd7-68de547da4d4",
  "RSA": true
}