首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >误差SoftLayer_Product_Order。(SoftLayer_Product_Order::verifyOrder)

误差SoftLayer_Product_Order。(SoftLayer_Product_Order::verifyOrder)
EN

Stack Overflow用户
提问于 2021-11-15 06:55:03
回答 1查看 46关注 0票数 2

我在modifyContact的电话上遇到麻烦了。每当我尝试执行它时,我都会收到错误:

代码语言:javascript
复制
{
    "error": "Invalid container specified: SoftLayer_Container_Product_Order. Ordering a server or service requires a specific container type, not the generic base order container.",
    "code": "SoftLayer_Exception_Order_InvalidContainer"
}

URL

https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Order/verifyOrder.json

卷曲请求

代码语言:javascript
复制
{
    "parameters": [
        {
            "quantity": 1,
            "location": "DALLAS09",
            "packageId": 10,
            "properties": [
                {
                    "name": "orderOrigin",
                    "value": "control"
                }
            ],
            "hardware": [
                {
                    "hostname": "vsiHostname",
                    "domain": "domain.com"
                }
            ]
        }
    ]
}
EN

回答 1

Stack Overflow用户

发布于 2021-11-15 21:19:08

尝试使用以下有效载荷:

代码语言:javascript
复制
{
"parameters": [
    {
        "complexType": "SoftLayer_Container_Product_Order_Software_Component_Virtual",
        "hardware": [
        {
           "domain": "domain.com",
           "hostname": "vsiHostname"
        }
          ],
       "location": "448994",
       "packageId": 10,
       "prices": [
            {"id": 242840,
             "item": {
                  "description": "cPanel/WHM with Fantastico and RVskin Premier Cloud up to 100 Accounts",
                  "id": 14292
              }
            }
        ],
      "endPointIpAddressIds":[1111111],
      "quantity": 1
    }
]

}

为您的ipAddressId替换1111111。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69970405

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档