List consent text history - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/client/customer/privacy/consent/text/history/{issuer}
Consent
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/client/customer/privacy/consent/text/history/?consentGroupId&consentId&target&scope&onlyActive'
Response Response Example
200 - Success
{
"issuer": "468979834",
"consents": [
{
"consentId": 1,
"consentGroupId": 1,
"target": "editoral",
"scope": "email",
"texts": [
{
"consentTextId": 1,
"languageCode": "nb_NO",
"textHistory": [
{
"consentTextHistoryId": 1,
"text": "Samtykker du til å motta eposter?",
"fromDate": 1559386588000,
"toDate": 1561892188000
},
{
"consentTextHistoryId": 2,
"text": "Samtykker du til å motta epostmeldinger?",
"fromDate": 1561986769000,
"toDate": 1593609208000
}
]
}
]
}
]
}
Request
Path Params
issuer
string
required
<= 255 characters
Query Params
consentGroupId
integer
optional
consentId
integer
optional
target
string
optional
<= 255 characters
scope
string
optional
target
& scope
can identified consent<= 255 characters
onlyActive
boolean
optional
Default:
true