Skip to main content
Skip table of contents

Get entitlements for a particular content

Request

To get the entitlements for a particular content, send a GET request to:

CODE
https://<host>:<port>/rmg/v1/user/action/authorisation/content/{uid}

Headers

  • authorization – bearer token that the client received at signon
  • nv-tenant-id  – the tenant ID

Mandatory arguments

  • uid – the content ID

Other arguments

None

Response

A successful request returns an HTTP 200 status.

A bad request returns an HTTP 400 status.

If the specified content does not exist, the request returns an HTTP 404 status.

Example

CODE
{
   "account": "string",
   "contentRights": {
      "contentId": "string",
      "filteringList": [
         "string"
      ],
      "filteringListIsAllowList": true,
      "blockingList": [
         "string"
      ],
      "blockVPN": true,
      "blockIfOffNet": true,
      "usageRules": {
         "viewingWindow": "string",
         "startDate": "2020-10-06T15:56:14.864Z",
         "expiryDate": "2020-10-06T15:56:14.864Z",
         "rentalDuration": {
            "months": 0,
            "hours": 0,
            "minutes": 0,
            "seconds": 0,
            "sign": 0,
            "days": 0,
            "years": 0,
            "xmlschemaType": {
               "namespaceURI": "string",
               "localPart": "string",
               "prefix": "string"
            }
         },
         "isStorageAllowed": true
      }
   },
   "firstView": "2020-10-06T15:56:14.864Z"
}

See also

For full details of this API, see the RMG API documentation.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.