I have the following JSON that I'm using to order storage. I believe the json to be valid but I receive the following error
"error":"Internal Error","code":"SoftLayer_Exception_Public"}
Here is the json I am using:
{
"parameters" : [
{
"location" : 1441195,
"packageId" : 759,
"osFormatType" : {
"id" : 12,
"keyName" : "LINUX"
},
"complexType" : "SoftLayer_Container_Product_Order_Network_Storage_AsAService",
"volumeSize" : "100",
"iops" : 100,
"useHourlyPricing" : true,
"quantity" : 1,
"prices" : [
{
"item" : {
"description" : "Storage as a serivce"
},
"id" : "189439"
},
{
"item" : {
"description" : ": FILE_STORAGE"
},
"id" : "189459"
},
{
"item" : {
"description" : ": 100 GB Storage Space"
},
"id" : "190899"
},
{
"item" : {
"description" : ": 100_6000_IOPS"
},
"id" : "189939"
} ]
} ]
}
The rest call I'm making is the following (whereby I save the json to the test.json file) :
curl -X POST --data "@test.json" -u user:apikey https://api.softlayer.com/rest/v3/SoftLayer_Product_Order/verifyOrder.json