MENU

Description

購入したアイテムの一覧を取得する

Request URL

billing API v1

GET /v1/{tenant_id}/order-items

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
tenant_id Tenant ID URI テナントID

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://account.tyo1.conoha.io/v1/487727e3921d44e3bfe7ebb337bf085e/order-items
  • RES
HTTP/1.1 200 OK
Date: Wed, 24 Dec 2014 04:26:57 GMT
Server: Apache
Content-Length: 311
Content-Type: application/json

{
  "order_items": [
    {
      "uu_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
      "service_name": "VPS",
      "service_start_date": "2014-05-12T13:48:03",
      "item_status": "Active"
    },)
    {
      "uu_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
      "service_name": "VPSAddDisk",
      "service_start_date": "2014-07-17T17:33:38",
      "item_status": "Active"
    },
    {
      "uu_id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
      "service_name": "VPSAddDisk",
      "service_start_date": "2014-07-17T17:35:26",
      "item_status": "Active"
    }
  ]
}