OpenTV ENTera & OpenTV Platform Documentation
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Get all entitlements for an account

Request

A client application needs to know which content the signed-in account has entitlements for, so it can display content appropriately. For example:

  • Display a play button for content for which the account has entitlements.

  • Display a buy button for content for which the account does not have entitlements.

To get all the entitlements for the account the app is signed into, send a GET request to:

XML
https://<host>:<port>/rmg/v1/user/entitlements

Headers

  • authorization – bearer token that the client received at signon

  • nv-tenant-id – the tenant ID

Mandatory arguments

None

Other arguments

You can add query parameters for sorting, paging, limiting, and filtering the entitlements that are returned – see the RMG API documentation.

Response

A successful request returns an HTTP 200 status.

JavaScript
{
  "totalRecords": 0,
  "resourceSet": [
    {}
  ]
}

A bad request returns an HTTP 400 status.

If no entitlements were found, the request returns an HTTP 404 status.

See also

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