2016-04-26 77 views
0

我試圖使用Softlayer API Explorer獲取特定門票的我和SL員工之間的對話內容。如何使用SoftLayer API瀏覽器獲取Softlayer門票中的對話內容

因此,讓我說我做了一張票,員工回覆如'Softlayer system administrator has completed the server upgrade. blah blah~'

我想要做的是在SL API瀏覽器的'API output'部分顯示'Softlayer system administrator has completed the server upgrade. blah blah~'文本。

enter image description here

據我猜測,我覺得首先我需要設置服務'Ticket'和HTTP方法設置爲'GET',並且使用的很多API的方法之一,但我有一個困難時期找到使用哪一個。

回答

0

試試下面的REST請求:

https://$user:[email protected]/rest/v3/SoftLayer_Ticket/27637317/getUpdates 

Method: Get 

替換:$用戶,$ apiKey和27637317使用自己的信息。

檢索帳戶的關聯票證。

+0

是否有可能寫SL API瀏覽器REST請求?我很抱歉,但是能否告訴我具體哪些地方可以在SL API Explorer中輸入其他請求?我似乎無法找到它 –

+0

您可以使用資源管理器,粘貼地址欄中的休息請求,也可以使用工具,例如我使用的:[高級休息客戶端](https://chrome.google。 com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo) –

+0

很棒!謝謝 –

相關問題