新增凭证
POST
https://v4.fenxi365.com/api/voucher
最后修改时间:2024-06-24 01:57:54
责任人:夏悸
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v4.fenxi365.com/api/voucher' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": null,
"remark": "",
"billList": [],
"word": "记",
"code": 1,
"voucherDate": "2023-09-01",
"receiptNum": 0,
"details": [
{
"summary": "提现",
"debitAmount": 200,
"creditAmount": null,
"subjectId": "433708449910640641",
"auxiliary": [],
"num": 0,
"price": 0
},
{
"summary": "提现",
"debitAmount": null,
"creditAmount": 200,
"subjectId": "433708450254573570",
"auxiliary": [],
"num": 0,
"price": 0
}
]
}'
响应示例响应示例
{
"success": true,
"code": 200,
"msg": "",
"data": {
"id": "595552911908411040",
"word": "记",
"code": 1,
"remark": "",
"receiptNum": 0,
"createMember": "440621412852432897",
"debitAmount": 200,
"creditAmount": 200,
"accountSetsId": "495265239915364399",
"year": 2023,
"month": 9,
"voucherDate": "2023-09-01",
"billList": [],
"details": []
}
}
请求参数
Body 参数application/json
返回响应
修改于 2024-06-24 01:57:54