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

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

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

要求:

方法

GET

端点

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

参数

  • 类型:“客户”

  • id:<客户id>

标题

  • 接受:应用程序/json

  • 授权令牌:<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 示例

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