- OPEN登录
- 业务模型关系接口
- 关联关系:删除
- 关联关系:每刻单据+流水
- 关联关系:自定义单据+每刻单据
- 关联关系:凭证+凭证
- 关联关系:凭证+自定义单据
- 关联关系:凭证+每刻报销单据
- 关联关系:凭证+流水
- 关联关系:凭证+回单
- 关联关系:凭证+承兑汇票
- 迁移老的虚关系表数据到新的虚关系表POST
- 跨系统调阅接口
- open日志接口
- 会计账簿接口
- 基础数据
- 纸档管理
- 会计报表接口
- 流水回单接口
- 承兑汇票接口
- 数据对账接口
- 自定义单据接口
- 借阅接口
- 邮件接口
- 纸质案卷查询接口
- 凭证接口
- 会计凭证分录行
- 会计凭证同步
- 会计凭证查询
- 会计凭证修改
- 会计凭证附件追加
- 会计凭证分录行追加
- 会计凭证删除
- 凭证附件查询接口V2
- 每刻单据
- 完整性检查open接口
凭证关系(附件)查询接口
POST
/open/voucher/attachments
请求参数
Header 参数
Authorization
string
可选
默认值:
{{token}}
Content-Type
string
可选
默认值:
application/json
Body 参数application/json
voucherIds
array[string] | null
凭证id
fourFactorDtos
array[object (OpenVoucherFourFactorQueryDto) {4}] | null
凭证四要素
voucherNo
string
凭证号
businessEntityName
string
业务实体名称
voucherType
string
凭证类型
voucherPeriod
string
凭证期间
示例
{
"voucherIds": [
"string"
],
"fourFactorDtos": [
{
"voucherNo": "string",
"businessEntityName": "string",
"voucherType": "string",
"voucherPeriod": "string"
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/voucher/attachments' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"voucherIds": [
"string"
],
"fourFactorDtos": [
{
"voucherNo": "string",
"businessEntityName": "string",
"voucherType": "string",
"voucherPeriod": "string"
}
]
}'
返回响应
🟢200成功
application/json
Body
com.maycur.cm.dto.ResultDto<java.util.List<com.maycur.cm.open.dto.voucher.OpenVoucherAttachmentResultDto>>
code
integer | null
结果代码
message
string | null
结果信息
errMsg
string | null
错误信息
data
array[object (OpenVoucherAttachmentResultDto) {3}] | null
结果数据
voucherId
string | null
可选
按四要素查出来的凭证,它的凭证id也会被标注此处
openVoucherAttachmentDtos
array[object (OpenVoucherAttachmentDto) {4}] | null
可选
附件包括凭证本身附件,以及凭证关联的文件所属附件
errMessage
string | null
错误信息
timestamp
string | null
时间戳
示例
{
"code": 0,
"message": "",
"errMsg": "",
"data": [
{
"voucherId": "",
"openVoucherAttachmentDtos": [
{
"type": "",
"billCode": "",
"billId": "",
"dataIds": [
""
]
}
],
"errMessage": ""
}
],
"timestamp": ""
}
修改于 2023-10-25 06:58:03