授权管理信息接口查询
业务说明
根据entCode获取企业下授权管理信息列表(同web端看到的授权信息列表)
接口地址
api/openapi/user-delegation/list
请求方式
GET
请求参数说明
无
响应参数说明
{
"code":"ACK",
"message":"成功",
"data":[
{
"code":"UD42338498285433933",
"delegator":{ //授权人相关信息
"entCode":null,
"name":"授权人姓名",
"nameZh":null,
"nameEn":null,
"employeeNickName":null,
"userCode":"",
"positionCode":null,
"employeeId":"",
"rankCode":null,
"email":null,
"phoneNo":null,
"status":"ENABLE",
"noApprovalFlag":0,
"residenceCode":null,
"defaultSubsidiaryCode":null,
"createdBy":null,
"updatedBy":null,
"platform":null,
"platformId":null,
"hireDate":null,
"createdAt":null,
"creditValue":null,
"businessPrivilegeMask":0,
"active":false,
"departmentList":null,
"tag":null,
"avatar":null,
"accounts":null,
"approvalTime":null,
"note":null,
"accountCode":null,
"sendEmailWhenReject":false,
"referenceFormCode":null,
"customObject":null,
"validationResult":null,
"source":null,
"sourceId":null,
"residences":null,
"defaultLegalEntityCode":null,
"defaultDepartmentCode":null,
"userName":"",
"i18NName":null,
"onJob":true
},
"delegatees":[ //被授权人信息
{
"entCode":null,
"name":"被授权人姓名",
"nameZh":null,
"nameEn":null,
"employeeNickName":null,
"userCode":"",
"positionCode":null,
"employeeId":"",
"rankCode":null,
"email":null,
"phoneNo":null,
"status":"ENABLE",
"noApprovalFlag":0,
"residenceCode":null,
"defaultSubsidiaryCode":null,
"createdBy":null,
"updatedBy":null,
"platform":null,
"platformId":null,
"hireDate":null,
"createdAt":null,
"creditValue":null,
"businessPrivilegeMask":0,
"active":false,
"departmentList":null,
"tag":null,
"avatar":null,
"accounts":null,
"approvalTime":null,
"note":null,
"accountCode":null,
"sendEmailWhenReject":false,
"referenceFormCode":null,
"customObject":null,
"validationResult":null,
"source":null,
"sourceId":null,
"residences":null,
"defaultLegalEntityCode":null,
"defaultDepartmentCode":null,
"userName":"",
"i18NName":null,
"onJob":true
}
],
"operate":{ //操作人信息
"entCode":null,
"name":"操作人姓名",
"nameZh":null,
"nameEn":null,
"employeeNickName":null,
"userCode":"",
"positionCode":null,
"employeeId":"",
"rankCode":null,
"email":null,
"phoneNo":null,
"status":"ENABLE",
"noApprovalFlag":0,
"residenceCode":null,
"defaultSubsidiaryCode":null,
"createdBy":null,
"updatedBy":null,
"platform":null,
"platformId":null,
"hireDate":null,
"createdAt":null,
"creditValue":null,
"businessPrivilegeMask":0,
"active":false,
"departmentList":null,
"tag":null,
"avatar":null,
"accounts":null,
"approvalTime":null,
"note":null,
"accountCode":null,
"sendEmailWhenReject":false,
"referenceFormCode":null,
"customObject":null,
"validationResult":null,
"source":null,
"sourceId":null,
"residences":null,
"defaultLegalEntityCode":null,
"defaultDepartmentCode":null,
"userName":"",
"i18NName":null,
"onJob":true
},
"delegationType":null, //授权类型 值为null:常规授权 ,值为 RESIGN_DELEGATION :离职授权
"delegationPrivilege":3,
"effectiveDate":1691510400000,//起止日期 (开始时间)
"expireDate":1696089599000, //起止日期 (结束时间)
"updatedAt":1692690968987, //最近操作时间
"createdAt":1692690968987,
"status":null,
"authContent":"代报销;代审批", //授权内容
"statusCode":"EXPIRED",
"authCode":"common_delegation",
"statusText":"已过期" //状态
}
],
"errorCode":null,
"success":true
}