此產品有較新版本可以使用。
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
使用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 範例:
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>'