我通過JAVA API控制軟層資源(服務器,存儲等)。SoftLayer Evault驗證API錯誤
我通過API驗證的升級的EVault存儲空間(20GB => 40GB),但是API從POST事件
URL(POST) https://IBMxxxx:[email protected]/rest/v3/SoftLayer_Product_Order/verifyOrder.json
這裏是返回錯誤消息
"error": "EVault service already exists for the requested location (Seoul 1).",
"code": "SoftLayer_Exception_Public"
附加的請求正文
{"parameters":
[
{"complexType":"SoftLayer_Container_Product_Order"
,"orderContainers":[
{"complexType":"SoftLayer_Container_Product_Order_Network_Storage_Backup_Evault_Vault"
,"location":"1555995"
,"packageId":0
,"quantity":1
,"virtualGuests":[
{"complexType":"SoftLayer_Virtual_Guest"
,"id":376047
}
],
"useHourlyPricing":false
,"prices":[
{"complexType":"SoftLayer_Product_Item_Price","id":66257}
]
}
]
}
]
}
固定的語法和代碼intentation – James