SoftLayer API:如何获取 itemCategoryQuestionAnswer 对象中的问题 ID 和答案值列表

SoftLayer API: How to get list of questionId and answers values in itemCategoryQuestionAnswer object

SoftLayer API SoftLayer_Container_Product_Order_Network_Subnet.itemCategoryQuestionAnswers

是SoftLayer_Container_Product_Item_Category_Question_Answer、

的一种

我怎样才能得到一个可能的列表

questionId/答案值基于 SoftLayer_Container_Product_Item_Category_Question_Answer 中的 categoryId 和 catogoryCode?

谢谢。

您可以使用以下方法检索与项目类别关联的问题:

http://sldn.softlayer.com/reference/services/SoftLayer_Product_Item_Category/getQuestions

例如REST 请求

https://$username:$apiKey@api.softlayer.com/rest/v3/SoftLayer_Product_Item_Category/312/getQuestions

Method: Get

“312”指的是categoryID,替换成你想要的categoryId。

希望这些信息对您有所帮助。