文档
测试

我的报销单列表

POST
http://SERVER:PORT/v2/expenses/myFromList

请求参数

参数名
类型
描述
必填
fromId
int
报销单id
必填

响应参数

参数名
类型
描述
必填
travelFromList
array
差旅报销列表 数据列表
必填
startDate
string
开始时间 示例:2020-05-26
必填
endDate
string
结束时间 示例:2020-05-29
必填
startCity
string
出发城市 示例:武汉
必填
endCity
string
目的城市 示例:长沙
必填
icon
string
交通图标 示例:https://image.joypay.cn/hyoa/labellogo/label_notstar.png
必填
amount
int
金额 示例:0
必填
fromInfoId
int
报销单详情id 示例:210
必填
isReturn
int
是否往返 1:是 2:否 示例:1
必填
dailyFromList
array
日常报销列表 数据列表
必填
fromType
int
1:办公费 2:招待费 3:交通费 4:邮寄费 5:住宿费 6:差旅费 示例:1
必填
amount
int
金额 示例:0
必填
fromName
string
报销单名字 示例:办公费
必填
icon
string
图标 示例:https://image.joypay.cn/hyoa/labellogo/label_notstar.png
必填
fromId
int
报销单id 示例:7
必填
isEdit
int
是否可以编辑 1:可以 2 不可以
必填

说明 / 示例

``` { "flag": true, "code": "1000", "data": { "travelFromList": [ { "startDate": "2020-05-26", "endDate": "2020-05-29", "startCity": "武汉", "endCity": "长沙", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png", "amount": 0, "fromInfoId": 210, "isReturn": 1 }, { "startDate": "2020-05-23", "endDate": "2020-05-26", "startCity": "武汉", "endCity": "昆明", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png", "amount": 0, "fromInfoId": 211, "isReturn": 1 }, { "startDate": "2020-05-11", "endDate": "2020-05-12", "startCity": "武汉", "endCity": "长沙", "icon": null, "amount": 0, "fromInfoId": 212, "isReturn": 1 } ], "dailyFromList": [ { "fromType": 1, "amount": 0, "fromName": "办公费", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png" }, { "fromType": 2, "amount": 0, "fromName": "招待费", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png" }, { "fromType": 3, "amount": 0, "fromName": "交通费", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png" }, { "fromType": 4, "amount": 0, "fromName": "邮寄费", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png" }, { "fromType": 5, "amount": 0, "fromName": "住宿费", "icon": "https://image.joypay.cn/hyoa/labellogo/label_notstar.png" } ], "fromId": 7 }, "message": "成功" } ```