Wie auch immer, hier ein Beispiel SoftLayer_Product_Order::placeOrder-Methode mit einer Bandbreite einen Auftrag für VSI zu platzieren:
https://$user:[email protected]/rest/v3/SoftLayer_Product_Order/verifyOrder
Method: Post
{
"parameters":[
{
"location":449494,
"packageId":46,
"hardware":[
{
"domain":"softlayer.com",
"hostname":"test"
}
],
"prices":[
{
"id":1640
},
{
"id":1644
},
{
"id":13940
},
{
"id":2202
},
{
"id":50241
},
{
"id":273
},
{
"id":2302
},
{
"id":55
},
{
"id":58
},
{
"id":420
},
{
"id":418
},
{
"id":21
},
{
"id":57
},
{
"id":905
},
{
"id":14022
}
]
}
]
}
Der "50241" Preis bezieht sich auf "5000 GB Bandbreite"
Um Informationen über Artikelpreise abzurufen, versuchen Sie Folgendes:
https://$user:[email protected]/rest/v3/SoftLayer_Product_Package/46/getItemPrices
Method: Get
Referenzen:
SoftLayer_Product_Package::getItemPrices
dieses Forum Werfen Sie einen Blick bitte: http://stackoverflow.com/questions/36045824/softlayer-order-bandwidth-package/36047448#36047448 –