Getting the rating thresholds for the account
Request
To get the parental rating thresholds for the account, send a GET request to:
https://<host>:<port>/adm/v1/user/accounts/parentalControl/ratingsThresholds
Headers
x-correlation-id
– identifier for logging, to correlate messages across a call flow.nv-tenant-id
– the tenant ID.token
– request authentication token.
Mandatory arguments
None
Other arguments
None
Response
A successful request returns an HTTP 200 status.
A bad request returns an HTTP 400 status.
An unauthorised request returns an HTTP 401 status.
A forbidden request returns an HTTP 403 status.
If the account ID or tenant ID obtained from the token does not exist, the request returns an HTTP 404 status.
Example
The response includes an entry for each applicable ratings body:
{
"FSK": "fsk12",
"TVPG": "TV-MA"
}
See also
For full details of this API, see the Account and Device Manager (ADM) API documentation.