Skip to main content
Keystone
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

使用Digital Advisor REST API获取客户订阅

贡献者

此API检索与给定CustomerID关联的所有订阅和服务级别的列表。

请求:

* 方法 *

获取

端点

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

* 参数 *

  • 类型:"客户"

  • ID:<customer-id>

标题

  • 接受:application/json

  • Authorization令牌:<access_key>

答复:

API将使用一个JSON对象进行响应、该对象包含给定客户的所有订阅和关联服务级别详细信息的列表。下面是一个示例响应:

[
{
"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"
}
}
]

状态代码:200—成功请求

卷示例

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>'