审批类型
接口说明: 获取公司所有的审批类型
请求方式:GET(HTTPS)
请求地址:https://api.xinrenxinshi.com/v4/workflow/flowTypes?sign=MdbAE946ZE060YjVWb9Gw7uzpVw%3D×tamp=1574043389544
请求Header::
key | value |
---|---|
access_token | 获取的access_token的实际值 |
参数说明:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
timestamp | Long | Y | 请求时间戳(精确到毫秒) |
sign | String | Y | 请求参数签名 |
返回结果:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
errcode | Integer | Y | 0成功,其他失败 |
errmsg | String | Y | 操作结果描述 |
data | List<FlowType> | N | 处理成功时的数据结果 |
FlowType
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
flowTypeId | Integer | Y | 审批类型id |
name | String | Y | 审批类型名称 |
响应示例:
{
"errcode": 0,
"errmsg": "成功",
"data": [
{
"name": "转正",
"flowTypeId": 1
},
{
"name": "调岗",
"flowTypeId": 2
},
{
"name": "调薪",
"flowTypeId": 3
},
{
"name": "请假",
"flowTypeId": 4
},
{
"name": "外出",
"flowTypeId": 5
},
{
"name": "补打卡",
"flowTypeId": 6
},
{
"name": "销假",
"flowTypeId": 7
},
{
"name": "销外出",
"flowTypeId": 8
},
{
"name": "加班",
"flowTypeId": 9
},
{
"name": "外勤",
"flowTypeId": 10
},
{
"name": "离职",
"flowTypeId": 11
},
{
"name": "招聘",
"flowTypeId": 12
},
{
"name": "录用",
"flowTypeId": 13
},
{
"name": "工资审核",
"flowTypeId": 15
},
{
"name": "出差",
"flowTypeId": 16
},
{
"name": "销出差",
"flowTypeId": 17
},
{
"name": "员工信息审核",
"flowTypeId": 18
},
{
"name": "员工类证明",
"flowTypeId": 19
},
{
"name": "工资类证明",
"flowTypeId": 20
},
{
"name": "离职交接",
"flowTypeId": 21
},
{
"name": "调店",
"flowTypeId": 22
},
{
"name": "入职",
"flowTypeId": 23
},
{
"name": "日常报销",
"flowTypeId": 515
},
{
"name": "采购",
"flowTypeId": 516
},
{
"name": "印章",
"flowTypeId": 517
},
{
"name": "付款",
"flowTypeId": 518
},
{
"name": "物品领用",
"flowTypeId": 519
},
{
"name": "合同审核",
"flowTypeId": 520
},
{
"name": "自定义证明",
"flowTypeId": 521
}
]
}