Skip to main content
Keystone

Get customer subscriptions using the Digital Advisor REST API

Contributors

This API retrieves a list of all the subscriptions and service levels associated with the given customerID.

Request:

Method

GET

Endpoint

https://api.activeiq.netapp.com/v1/keystone/customer/subscriptions-info

Parameters

  • type: "customer"

  • id: <customer-id>

Headers

  • accept: application/json

  • authorizationToken: <access_key>

Response:

The API will respond with a JSON object containing a list of all the subscriptions and associated service level details for the given customer. Here's an example response:

[
{
"results": {
"returned_records": 0,
"records": [
{
"subscription": {
"account_name": "string",
"number": "string",
"start_date": "2024-05-28T15:47:49.254Z",
"end_date": "2024-05-28T15:47:49.255Z"
},
"service_levels": [
{
"name": "string",
"committed_tib": 0
}
]
}
],
"request_id": "string",
"response_time": "string"
}
}
]

Status code: 200 – Successful request

Curl example:

curl -X 'GET' \ 'https://api.activeiq.netapp.com/v1/keystone/customer/subscriptions-info?type=customer&id=<customerID>' \ -H 'accept: application/json' \ -H 'authorizationToken: <access-key>'