OpenTV ENTera & OpenTV Platform Documentation

Get account information

Request

To get the basic information for an account, send a GET request to:

http://<host>:<port>/adm/v1/accounts/<accountID>

This request returns data from Account and Device Manager (ADM) only.

To get information about the entitlements for an account, call Rights Manager's GET /v1/user/entitlements/{uid } API – see the RMG API documentation.

Mandatory Arguments

  • accountID

Response

See Account and Device Manager (ADM) API documentation.

Example

An example request would look like:

http://<host>:<port>/adm/v1/accounts/5b7e71658ce5cb0001d85d18

A successful request generates a response that looks like this:

{
    "status": "ACTIVE",
    "accountProfileId": "DEFAULT",
    "billingAddress": [
        {
            "key": "",
            "value": ""
        }
    ],
    "created": "2018-08-23T08:33:41.443Z",
    "modified": "2018-08-23T08:33:41.443Z",
    "pvrStatus": "DISABLED",
    "accountNumber": "5b7e71658ce5cb0001d85d19",
    "signonId": "CRM_ID1",
    "_id": "5b7e71658ce5cb0001d85d18"
}

See also

For full details of this API, see Account and Device Manager (ADM) API documentation.