Check access
Production
https://api.mediaconnect.no/capi
Production
https://api.mediaconnect.no/capi
POST
/v1/customer/access
Access
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
.IP
, then it is required to send uniqueId
or credential
together with that field.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mediaconnect.no/capi/v1/customer/access' \
--header 'Content-Type: application/json' \
--data-raw '{
"product": "CO27409",
"articleId": "578943434",
"domain": "unite.no",
"ip": "127.0.0.1",
"categoryType": "SWISJ",
"accessAzureAd": true,
"accessAidFamily": true,
"uniqueId": "6ba7b8149dad11d180b400c04fd430c8",
"customerNumber": 563457,
"credential": "+4723339100"
}'
Response Response Example
200 - Example 1
{
"access": true,
"accesses": [
{
"access": false,
"accessLevel": "C",
"accessType": "D"
},
{
"access": true,
"accessLevel": "B",
"accessType": "A"
}
]
}
Request
Body Params application/json