POST GDPR

Returns a full structure of the GDPR consent

Request Information

URI Parameters

None.

Body Parameters

Lluni.Models.Common.Wip.GDPR.GDPRConsent
NameDescriptionTypeAdditional information
ValidationCode

string

None.

EntityData

Lluni.Models.Common.Wip.GDPR.GDPREntityData

None.

Consent

boolean

None.

MarketingConsent

boolean

None.

OtherOptionConsent

boolean

None.

InformationDutiesConsent

boolean

None.

Ip

string

None.

Device

string

None.

OS

string

None.

Browser

string

None.

Contact

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ValidationCode": "sample string 1",
  "EntityData": {
    "EntityId": 1,
    "Name": "sample string 2",
    "BirthDate": "2025-10-30T16:34:47.0356319+00:00",
    "MaritalStatusCode": "sample string 3",
    "IdentityNumber": "sample string 4",
    "IdentityNumberExpireDate": "2025-10-30T16:34:47.0356319+00:00",
    "DriverLicenceId": "sample string 5",
    "DriverLicenceDate": "2025-10-30T16:34:47.0356319+00:00",
    "DriverLicenceExpireDate": "2025-10-30T16:34:47.0356319+00:00",
    "Phone": "samplestring6",
    "PhoneCountryCode": "sample string 7",
    "Email": "sample string 8",
    "Street": "sample string 9",
    "Door": "sample string 10",
    "Floor": "sample string 11",
    "ZipCode": "sample string 12",
    "County": "sample string 13"
  },
  "Consent": true,
  "MarketingConsent": true,
  "OtherOptionConsent": true,
  "InformationDutiesConsent": true,
  "Ip": "sample string 3",
  "Device": "sample string 4",
  "OS": "sample string 5",
  "Browser": "sample string 6",
  "Contact": "sample string 7"
}

application/xml, text/xml

Sample:
<GDPRConsent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lluni.Models.Common.Wip.GDPR">
  <Browser>sample string 6</Browser>
  <Consent>true</Consent>
  <Contact>sample string 7</Contact>
  <Device>sample string 4</Device>
  <EntityData>
    <BirthDate>2025-10-30T16:34:47.0356319+00:00</BirthDate>
    <County>sample string 13</County>
    <Door>sample string 10</Door>
    <DriverLicenceDate>2025-10-30T16:34:47.0356319+00:00</DriverLicenceDate>
    <DriverLicenceExpireDate>2025-10-30T16:34:47.0356319+00:00</DriverLicenceExpireDate>
    <DriverLicenceId>sample string 5</DriverLicenceId>
    <Email>sample string 8</Email>
    <EntityId>1</EntityId>
    <Floor>sample string 11</Floor>
    <IdentityNumber>sample string 4</IdentityNumber>
    <IdentityNumberExpireDate>2025-10-30T16:34:47.0356319+00:00</IdentityNumberExpireDate>
    <MaritalStatusCode>sample string 3</MaritalStatusCode>
    <Name>sample string 2</Name>
    <Phone>samplestring6</Phone>
    <PhoneCountryCode>sample string 7</PhoneCountryCode>
    <Street>sample string 9</Street>
    <ZipCode>sample string 12</ZipCode>
  </EntityData>
  <InformationDutiesConsent>true</InformationDutiesConsent>
  <Ip>sample string 3</Ip>
  <MarketingConsent>true</MarketingConsent>
  <OS>sample string 5</OS>
  <OtherOptionConsent>true</OtherOptionConsent>
  <ValidationCode>sample string 1</ValidationCode>
</GDPRConsent>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Lluni.Models.Common.Wip.GDPR.GDPRSubmitionResult
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GDPRSubmitionResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lluni.Models.Common.Wip.GDPR">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Success>true</Success>
</GDPRSubmitionResult>