# 接口说明
- 1.最新接口
- 2.报销单批量状态修改
| 请求方式 | 请求地址 |
|---|---|
| POST | /openapi/func/reimb/batchUpdateStatus |
请求参数:
| 字段 | 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|---|
| timestamp | 时间戳 | long | Y | 13位时间戳 |
| sign | 签名 | string | Y | 4ergfdsawesf |
| access_token | token | string | Y | 登录 token |
| employee_id | 操作人id | string | Y | 操作人id,调用接口人 id |
| employee_type | 用户类型 | string | Y | 类型,0为分贝用户,1为第三方用户 |
| data | 请求数据 | jsonstring | Y | 请求数据 |
| data.reimb_id | 报销单单号 | String | Y | 多个单号之间用英文逗号","隔开 |
请求示例:
"access_token": "xxx.xxx.xxx",
"timestamp": 123456789,
"employee_id":"12345678",
"sign": "jifejfwojelajflejf",
"data":
{
"reimb_id": "32495827348,7324857348,63284728"
}
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
返回结果
{
"request_id": "9CRe5SOw2yQCaIBdxDyr",
"code": 0,
"type": 0,
"msg": "success"
}
有更新错误时返回如下信息:
{
"request_id": "9CRe5SOw2yQCaIBdxDyr",
"code": -999,
"type": 0,
"msg": "error",
"data": [{
"reim_id": "121231",
"msg": "状态错误"
}]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21