[英]Error SoftLayer_Product_Order. (SoftLayer_Product_Order:: verifyOrder)
I am having trouble with the modifyContact call.我在调用 modifyContact 时遇到问题。 Every time I try to execute it I receive the error:每次我尝试执行它时,我都会收到错误消息:
{
"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 https://api.softlayer.com/rest/v3.1/SoftLayer_Product_Order/verifyOrder.json
CURL Request卷曲请求
{
"parameters": [
{
"quantity": 1,
"location": "DALLAS09",
"packageId": 10,
"properties": [
{
"name": "orderOrigin",
"value": "control"
}
],
"hardware": [
{
"hostname": "vsiHostname",
"domain": "domain.com"
}
]
}
]
}
Try using the following payload:尝试使用以下有效负载:
{
"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
}
]
} }
Replace the 1111111 for your ipAddressId.将 1111111 替换为您的 ipAddressId。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.