Get consent features
GET/api/lookup/consentfeatures
Retrieves a list of consent features and associated data. Example: Marketing.
Response sample
{
"data": [{
"id": "e1773c77-b084-4efc-81e7-176b53e2ebef",
"text": "Commercial",
"type": "CommunicationFeatures",
"additionalData": {
"communicationFeatureId": "e1773c77-b084-4efc-81e7-176b53e2ebef",
"type": 3,
"communicationReasonId": "30644b96-1422-63a4-e053-0400c8acc645",
"notes": "Commercial Consent test",
"useChannels": true }}],
"meta": {
"warnings": [],
"information": []},
"links": {}
}
Request
Responses
- 200
- 400
- 404
Success: Request accepted.
Bad request: StorefrontOrigin not passed in header; the request wasn’t valid or can’t be otherwise served. Typical when there is a syntax error in the request. Further details of the error are provided in the response payload body.
Not found: The Omni Subscription is not assigned to the site group; the URI isn’t valid or the requested resource doesn’t exist.