POST api/GdprConsent/SendPrivacyPolicy

Request Information

URI Parameters

None.

Body Parameters

GdprPrivacyPolicyEmailDto
NameDescriptionTypeAdditional information
FromName

string

None.

FromEmail

string

None.

ToEmail

string

None.

Subject

string

None.

Message

string

None.

ConsentType

GdprConsentType

None.

Contact

ListItemDto

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "fromName": "sample string 1",
  "fromEmail": "sample string 2",
  "toEmail": "sample string 3",
  "subject": "sample string 4",
  "message": "sample string 5",
  "consentType": 1,
  "contact": {
    "name": "sample string 1",
    "id": 2
  }
}

text/plain

Sample:
{"fromName":"sample string 1","fromEmail":"sample string 2","toEmail":"sample string 3","subject":"sample string 4","message":"sample string 5","consentType":1,"contact":{"name":"sample string 1","id":2}}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.