List consent event history - client mode
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
GET
/v1/client/customer/privacy/consentEvent/history/{issuer}/{subjectType}/{subject}
Consent
issuer
and subject
(subject type).Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mediaconnect.no/capi/v1/client/customer/privacy/consentEvent/history///?onlyActive'
Response Response Example
200 - Success
{
"issuer": "468979834",
"subject": "563457",
"subjectType": "CONNECT",
"consents": [
{
"consentId": 1,
"target": "editoral",
"scope": "email",
"events": [
{
"consentEventId": 1,
"created": 1560963388000,
"source": "Selfservice",
"action": false
},
{
"consentEventId": 2,
"created": 1560968512000,
"source": "Selfservice",
"action": true
}
]
}
]
}
Request
Path Params
issuer
stringÂ
required
<= 255 characters
subjectType
enum<string>Â
required
Allowed values:
CONNECTCONNECTIDEXTERNALORDER
subject
stringÂ
required
subjectType
CONNECTsubjectType
CONNECTIDsubjectType
ExternalsubjectType
ORDER.<= 255 characters
Query Params
onlyActive
booleanÂ
optional
Default:
true