List consent text - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/client/customer/privacy/consent/text/{issuer}
Consent
issuer
consents, for consents of given group or for specyfic consent (by consentId
or target
and scope
).Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/client/customer/privacy/consent/text/?consentGroupId&consentId&target&scope&onlyActive'
Response Response Example
200 - Success
{
"issuer": "468979834",
"consents": [
{
"consentId": 1,
"consentGroupId": 1,
"target": "editoral",
"scope": "email",
"texts": [
{
"textId": 1,
"languageCode": "nb_NO",
"text": "Samtykker du til å motta eposter?",
"fromDate": 1561932001000
}
]
}
]
}
Request
Path Params
issuer
string
required
<= 255 characters
Query Params
consentGroupId
integer
optional
consentId
integer
optional
target
string
optional
<= 255 characters
scope
string
optional
<= 255 characters
onlyActive
boolean
optional
Default:
true