Skip to main content
2.0
本製品の最新リリースがご利用いただけます。
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

Digital Advisor REST API を使用して顧客のサブスクリプションを取得する

この API は、指定された顧客 ID に関連付けられているすべてのサブスクリプションとサービス レベルのリストを取得します。

リクエスト:

方法

GET

終点

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

パラメータ

  • タイプ: 「顧客」

  • id: <顧客ID>

ヘッダー

  • 受け入れる: application/json

  • 認証トークン: <アクセスキー>

応答:

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