Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/353.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 使用带有主题的Softlayer_票证时所需的Softlayer API信息_Python_Ibm Cloud Infrastructure - Fatal编程技术网

Python 使用带有主题的Softlayer_票证时所需的Softlayer API信息

Python 使用带有主题的Softlayer_票证时所需的Softlayer API信息,python,ibm-cloud-infrastructure,Python,Ibm Cloud Infrastructure,我在以下方面找到了一个例子: 我发现: 我找不到的是subjectId类型可以使用的“内部标识符”列表。在上面的示例中,subjectId:1121为硬件防火墙问题(ID 1121)创建了一个记录单,但我不知道在哪里可以找到其他问题的正确subjectId。有人能告诉我去哪里看吗?获取主题ID的代码在同一个示例中: import SoftLayer from pprint import pprint as pp client = SoftLayer.Client() subjects = cl

我在以下方面找到了一个例子:

我发现:


我找不到的是
subjectId
类型可以使用的“内部标识符”列表。在上面的示例中,
subjectId:1121
为硬件防火墙问题(ID 1121)创建了一个记录单,但我不知道在哪里可以找到其他问题的正确
subjectId
。有人能告诉我去哪里看吗?

获取主题ID的代码在同一个示例中:

import SoftLayer
from pprint import pprint as pp

client = SoftLayer.Client()
subjects = client['Ticket_Subject'].getAllObjects()
pp(subjects)
以下是该方法的文档:


关于

获取受试者ID的代码在同一示例中:

import SoftLayer
from pprint import pprint as pp

client = SoftLayer.Client()
subjects = client['Ticket_Subject'].getAllObjects()
pp(subjects)
以下是该方法的文档:

问候