跳到主要内容

获取委托列表

权限说明

仅支持专有轻流;

仅「超管accessToken」可以调用。

请求

**请求方式:**GET

请求地址:https://xxx.xxxxx.com/openApi/delegate

2.1 参数说明(路径参数):

2.2 参数说明(查询参数):
参数类型必须说明
pageNumint页码
pageSizeint每页数量
typeint委托类型;1:委托任务,2:受委托任务
userIdstring用户id
2.3 请求头(Header)
参数必须说明
accessToken调用接口凭证。获取方法请查看“文档”
2.4 请求体(Body)

2.5 请求体示例

3.返回

3.1 返回体
参数必含类型说明
errCodeint错误码,非0表示失败
errMsgstring错误描述
resultobject返回结果
pageNumint页码
pageSizeint每页数量
pageAmountint总页数
resultAmountint总条数
resultarray
idint委托任务id
createTimedatetime发起时间
delegatorUserInfoobject用户基本信息
uidint用户的uid
statusboolean是否激活邮箱,true:已激活
emailstring用户注册使用的邮箱
nickNamestring用户自己定义的昵称
headImgstring用户的头像
acceptedboolean是否接受当前工作区的邀请,true:已接收邀请
authnumber用户权限,0:普通成员,1:管理员,2:工作区创建人
remarkstring备注
mobileNumstring手机号
delegateeUserInfosarray
uidint用户的uid
statusboolean是否激活邮箱,true:已激活
emailstring用户注册使用的邮箱
nickNamestring用户自己定义的昵称
headImgstring用户的头像
acceptedboolean是否接受当前工作区的邀请,true:已接收邀请
authnumber用户权限,0:普通成员,1:管理员,2:工作区创建人
remarkstring备注
mobileNumstring手机号
delegateScopeobject
tagsarray委托的应用包
tagIdint应用包id
tagNamestring应用包名称
tagIconstring应用包Icon
appsarray委托的应用
appKeystring应用appKey
titlestring应用标题
iconUrlstring应用iconUrl
startTimedatatime委托开始时间
endTimedatatime委托结束时间
delegateStatusint委托状态,1:未开始;2:委托中;3:已结束
3.2 返回体示例
{
"errCode": "",
"errMsg": "",
"result": {
"pageNum": "页码",
"pageSize": "每页数量",
"pageAmount": "总页数",
"resultAmount": "总条数",
"result": [{
"id": "委托任务id",
"createTime": "发起时间",
"delegatorUserInfo": "用户基本信息",
"delegateeUserInfos": [{
"uid": "用户的uid",
"status": "邮箱是否激活 true 已激活 false 未激活",
"email": "邮箱",
"nickName": "昵称",
"headImg": "头像",
"accepted": "是否接受当前工作区的邀请,true:已接收邀请",
"auth": "用户权限",
"remark": "备注",
"mobileNum": "手机号"
}],
"delegateScope": {
"tags": [{
"tagId": "应用包id",
"tagName": "应用包名称",
"tagIcon": "应用包icon"
}],
"apps": [{
"appKey": "应用appKey",
"title": "应用标题",
"iconUrl": "应用iconUrl"
}]
},
"startTime": "委托开始时间",
"endTime": "委托结束时间",
"delegateStatus": "委托状态"
}]
}
}