本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
使用 Digital Advisor REST API 取得客戶訂閱
此 API 會擷取與給定 customerID 關聯的所有訂閱和效能服務等級的清單。
-
申請: *
方法 |
取得 |
* 端點 * |
|
參數 |
|
* 標題 * |
|
-
回應: *
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>'