我在modifyContact的电话上遇到麻烦了。每当我尝试执行它时,我都会收到错误:
{
"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
卷曲请求
{
"parameters": [
{
"quantity": 1,
"location": "DALLAS09",
"packageId": 10,
"properties": [
{
"name": "orderOrigin",
"value": "control"
}
],
"hardware": [
{
"hostname": "vsiHostname",
"domain": "domain.com"
}
]
}
]
}发布于 2021-11-15 21:19:08
尝试使用以下有效载荷:
{
"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。
https://stackoverflow.com/questions/69970405
复制相似问题