员工待办
- 接口:common/workflow/emp/v2/{employeeNumber}
- Method:POST
- 数据格式:JSON
- 限流信息:100次每天和50次每小时
- 多语言环境:在接口请求头中添加Key为locale,Value值为语言环境,目前支持的语言有zh_CN(中文)、en_US(英文)、ja_JP(日文)、zh_TW(繁体),请选取其中一种
- 接口说明:
- 其他补充信息:
参数:
请求参数
字段名称 |
字段类型 |
字段描述 |
是否必填 |
长度限制(字节) |
page_num |
Integer |
页数 |
TRUE |
|
page_size |
Integer |
分页数大小(最大100) |
TRUE |
返回参数
字段名称 |
字段类型 |
字段描述 |
resCode |
Integer |
响应状态码(见附录) |
resMsg |
String |
返回信息描述 |
data.page_num |
Integer |
当前页数 |
data.total_page |
Integer |
总页数 |
data.page_size |
Integer |
分页数大小 |
data.total_count |
Integer |
总数量 |
data.page_info |
Array |
待办数据 |
page_info.id |
Integer |
审批流path_id |
page_info.workflow_type |
String |
审批流类型 |
page_info.source_id |
Integer |
单据id |
page_info.sequence_num |
Integer |
审批序号 |
page_info.status |
String |
审批状态 |
page_info.type |
String |
审批类型 (P审批,A财务审核,O提交意见,C抄送,Q询问) |
page_info.open_date |
long |
审批开始时间 |
page_info.claim_header |
JSONObject |
审批流对应单据信息(根据全局栏位配置获取), 字段信息见 单据查询 |
示例:
请求数据
返回数据
{
"resCode": 200000,
"resMsg": "success",
"data": {
"page_num": 2,
"total_page": 3,
"page_size": 2,
"total_count": 5,
"page_info": [
{
"id": 27783,
"workflow_id": 0,
"workflow_type": "EXP",
"source_id": 25706,
"sequence_num": 1,
"status": "approving",
"type": "P",
"user_id": 267103,
"open_date": 1606394472000,
"claim_header": {
"id": 25706,
"code": "EXP0000000063",
"note": "",
"header_id": 25706,
"document_id": 25706,
"document_num": "EXP0000000063",
"total_amount": 234.00,
"branch_id": 123076,
"submit_user_id": 267102,
"charge_user_id": 267102,
"header_type_id": 155721,
"created_by": {
"id": 267102,
"mobile": "12323454567",
"code": "1A000",
"email_address": "support-xxx@cloudpense.com",
"full_name": "云简技术支持",
"employee_number": "1A000",
"user_name": "support-xxx@cloudpense.com"
},
"claim_lines": [],
"time_line": [],
"header_type": {
"id": 155721,
"code": "T003",
"type": "对公报销",
"internal_type": "claim_supplier",
"config_type_code": "gl_closed",
"autoClose": "N",
"group_num": 20,
"group_name": "费用管理",
"enabled": "Y",
"request_required_flag": "N"
},
"submit_user": {
"id": 267102,
"mobile": "12323454567",
"code": "1A000",
"email_address": "support-xxx@cloudpense.com",
"full_name": "云简技术支持",
"employee_number": "1A000",
"user_name": "support-xxx@cloudpense.com"
},
"charge_user": {
"id": 267102,
"mobile": "12323454567",
"code": "1A000",
"email_address": "support-xxx@cloudpense.com",
"full_name": "云简技术支持",
"employee_number": "1A000",
"user_name": "support-xxx@cloudpense.com"
},
"branch": {
"id": 123076,
"code": "C",
"department_name": "上海xxxx科技有限公司",
"company_name": "上海xxxx科技有限公司"
}
}
}
]
}
}