2016-08-04 31 views

回答

1

你應該做它通過SoftLayer_Product_Order::placeOrder方法,在這裏休息的請求吧:

https://$user:[email protected]/rest/v3/SoftLayer_Product_Order/placeOrder 

Method: Post 

{ 
    "parameters":[ 
     { 
     "packageId":301, 
     "prices":[ 
      { 
       "id":172249 
      } 
     ] 
     } 
    ] 
} 

注意:用自己的信息替換$用戶和$ apiKey,也正如你可以看到,172249值指的是,你會下訂單,讓所有通過API VMware的許可牌照,請嘗試以下操作:

https://$user:[email protected]/rest/v3/SoftLayer_Product_Package/301/getItemPrices 

Method: Get 

同樣的想法可以通過編程語言被應用,以查看可用的編程語言翻譯通過SoftLayer的支持年齡:

一些參考

+0

感謝麴黴。我會試一下! –

相關問題