The user needs to be logged in to use this endpoint, click here to read more.
This API returns accesses for given user.
The access can be given on several levels. You may have access based on 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
.
NOTE: If you send a request with two or more fields, then it has to match with them all. If you are checking access based on other than IP
, then it is required to send uniqueId
or credential
together with that field.
{- "product": "CO27409",
- "articleId": "578943434",
- "domain": "mediaconnect.no",
- "ip": "127.0.0.1",
- "categoryType": "SWISJ",
- "accessAzureAd": true,
- "accessAidFamily": true,
- "uniqueId": "6ba7b8149dad11d180b400c04fd430c8",
- "customerNumber": 563457,
- "credential": "+4723339100"
}
{- "access": true,
- "accesses": [
- {
- "access": false,
- "accessLevel": "C",
- "accessType": "D"
}, - {
- "access": true,
- "accessLevel": "B",
- "accessType": "A"
}
]
}
Only the client needs to be logged in to use this endpoint. The user does not need to be logged in, click here to read more.
This API returns accesses for given user. The access can be given on several levels.
You may have access based on 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
.
NOTE: If you send a request with two or more fields, then it has to match with them all. If you are checking access based on other than IP, then it is required to send uniqueId
or credential
together with that field.
{- "product": "CO27409",
- "articleId": "578943434",
- "domain": "mediaconnect.no",
- "ip": "127.0.0.1",
- "categoryType": "SWISJ",
- "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"
}
]
}