本文介紹了如何通過DescribeUserBizTypes介面查詢已建立和自訂的業務情境列表,用於在後台管理業務情境資料。
使用說明
業務介面:DescribeUserBizTypes
您可以調用該介面查詢業務情境(BizType)。關於如何構造HTTP請求,請參見請求結構;您也可以直接選用已構造好的HTTP請求,更多資訊,請參見SDK概覽。
計費資訊:該介面為免費介面。
QPS限制
本介面的單使用者QPS限制為10次/秒。超過限制,API調用會被限流,這可能會影響您的業務,請合理調用。
請求參數
無。
返回資料
| 名稱 | 類型 | 樣本值 | 描述 |
| BizTypeList | JSONArray | 所有業務情境列表。JSON數組中的每個元素是一個結構體,關於具體結構描述,請參見BizType。 | |
| BizTypeListImport | JSONArray | 可匯入的業務情境列表。JSON數組中的每個元素是一個結構體,關於具體結構描述,請參見BizType。 | |
| Message | String | OK | 請求資訊的響應訊息。 |
| RequestId | String | ADDBDECA-E1B2-4988-AE3B-956BF51573EC | 對應的請求ID。 |
| 名稱 | 類型 | 樣本值 | 描述 |
| SourceBizType | String | default | 原始BizType,如無特殊需求請忽略該欄位。 |
| BizType | String | mohongtest2 | 業務情境。 |
| CiteTemplate | Boolean | false | 是否引入行業模板配置。取值:
|
| IndustryInfo | String | 社交-註冊資訊-頭像 | 行業資訊。 |
| Source | String | custom | 業務情境來源。取值:
|
| Description | String | 測試業務情境 | 業務情境描述。 |
樣本
請求樣本
http(s)://green.cn-shanghai.aliyuncs.com/?
Action=DescribeUserBizTypes&ServiceModule=open_api
&<公用請求參數>正常返回樣本
{
"BizTypeList":[
{
"CiteTemplate":false,
"BizType":"mohongtest2",
"Source":"custom",
"IndustryInfo":"",
"Description": ""
}
],
"RequestId":"ADDBDECA-E1B2-4988-AE3B-956BF51573EC",
"BizTypeListImport":[
{
"CiteTemplate":false,
"BizType":"mohongtest2",
"Source":"custom",
"IndustryInfo":"",
"Description": ""
}
]
}