简体   繁体   English

如何使用SoftLayer API资源管理器在Softlayer票证中获取对话内容

[英]How to get conversation contents in Softlayer tickets using SoftLayer API explorer

I'm trying to get the conversation contents between myself and the SL employee for a specific ticket using Softlayer API explorer. 我正在尝试使用Softlayer API资源管理器获取我和SL员工之间针对特定票证的对话内容。

So lets say that I made a ticket and the employee responded like 'Softlayer system administrator has completed the server upgrade. blah blah~' 可以这么说,我做了一张票,而员工则回答说'Softlayer system administrator has completed the server upgrade. blah blah~' 'Softlayer system administrator has completed the server upgrade. blah blah~' . 'Softlayer system administrator has completed the server upgrade. blah blah~'

What I want to do is display the 'Softlayer system administrator has completed the server upgrade. blah blah~' 我要做的是显示'Softlayer system administrator has completed the server upgrade. blah blah~' 'Softlayer system administrator has completed the server upgrade. blah blah~' text in the 'API output' section in the SL API explorer. SL API资源管理器中'API output'部分中的'API output' 'Softlayer system administrator has completed the server upgrade. blah blah~'文本。

在此处输入图片说明

To the best of my guess, I think first I need to set service to 'Ticket' and set HTTP method to 'GET' , and use one of the many API methods, but I'm having a hard time finding which one to use. 尽我所能,我认为首先我需要将服务设置为'Ticket' ,并将HTTP方法设置为'GET' ,并使用许多API方法之一,但是我很难找到要使用的方法。

Try the following Rest Request: 尝试以下“休假请求”:

https://$user:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Ticket/27637317/getUpdates

Method: Get

Replace: $user, $apiKey and 27637317 with your own information. 用您自己的信息替换:$ user,$ apiKey和27637317。

To retrieve an account's associated tickets. 检索帐户的关联票证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM