1.03获取单据文件信息
快速开始环境
快速开始环境
POST
/kapi/app/rim/queryCover
请求参数
Query 参数
access_token
string
token
Body 参数application/json
billType
string
单据类型
<= 50 字符
billId
string
单据id
<= 50 字符
示例
{
"billType": "string",
"billId": "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 'https://cosmic-sandbox.piaozone.com/jdpjykjyxgs/kapi/app/rim/queryCover?access_token=' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
message
string
描述信息
errorCode
string
必需
data
object
必需
cover
array [object {4}]
必需
attachment
array [object {6}]
必需
invoice
array [object]
必需
示例
{
"message": "string",
"errorCode": "string",
"data": {
"cover": [
{
"localUrl": "string",
"coverNo": "string",
"snapshotUrl": "string",
"fileType": "string"
}
],
"attachment": [
{
"attachmentName": "string",
"localUrl": "string",
"snapshotUrl": "string",
"serialNo": "string",
"remark": "string",
"attachmentType": "1"
}
]
},
"invoice": [
{}
]
}
修改于 2025-03-14 10:31:09