查询数字人组织
接口描述
1、查询数字人关联的组织,最多支持100个数字人ID
2、接口支持https协议
接口URL
http://api.polyv.net/live/v4/ai/digital-human/list-organization
请求方式
GET
接口约束
1、接口同时支持HTTP 、HTTPS ,建议使用HTTPS 确保接口安全,接口调用有频率限制,详细请查看
请求参数描述
示例
http://api.polyv.net/live/v4/ai/digital-human/list-organization?appId=frlr1zacn3&sign=0F412B15C2DC032517E1D29BD4452C43×tamp=1630996829815&aiDigitalHumanIds=1,2,3
响应参数描述
Error参数描述
参数名
类型
说明
code
Integer
错误代码,用于确定具体的错误原因
desc
String
错误描述,与 error.code 对应
data参数描述
AIDigitalHumanOrganizationVO
参数名
类型
说明
aiDigitalHumanId
Integer
数字人ID
organizationIds
List<Integer>
组织ID列表
includeChildren
Boolean
是否包含子节点
响应示例
成功示例
{
"code": 200,
"status": "success",
"requestId": "dc7ae621ef8e4f4a8e4976833f1dbbd4.66.16309975070362179",
"data": [
{"aiDigitalHumanId":1,"organizationIds":[1,2,3],"includeChildren":true},
{"aiDigitalHumanId":2,"organizationIds":[3,4,5],"includeChildren":false}
],
"success": true
}
异常示例
{
"code": 400,
"status": "error",
"requestId": "d310b70bc329403f87f77f9203d50f89.128.16360828899123425",
"success": false
}
Last updated
Was this helpful?