product
subscription, domain
, ip
address, specific article
or categoryType
that was bought. You also have access based on use of AzureAd, AidFamily, uniqueId
(from Profle API) or customerNumber
and credential
.uniqueId
or credential
together with that field.curl --location --request POST 'https://api.mediaconnect.no/capi/v1/client/access' \
--header 'Content-Type: application/json' \
--data-raw '{
"product": "CO27409",
"articleId": "578943434",
"domain": "unite.as",
"ip": "127.0.0.1",
"categoryType": "SWISH",
"accessAzureAd": true,
"accessAidFamily": true,
"uniqueId": "6ba7b8149dad11d180b400c04fd430c8",
"customerNumber": 563457,
"credential": "+4723339100"
}'
{
"access": true,
"accesses": [
{
"access": false,
"accessLevel": "C",
"accessType": "D"
},
{
"access": true,
"accessLevel": "A",
"accessType": "A"
}
]
}