GET api/Pos/Busi/Sell/BindingPic/ReadByBytes/{billnum}/{pictype}
以API的方式读取文件内容,Result.Tag里保存的是可以直接反序列为图片的字节数组。
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| billnum |
单据号 |
string |
Required |
| pictype |
图片的类型,只能是1,2,3的取值,分别对应到BindingPic1,BindingPic2,BindingPic3 |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
以API的方式读取文件内容,Result.Tag里保存的是可以直接反序列为图片的字节数组。
CommonOperationResultWithTagOfByte[]| Name | Description | Type | Additional information |
|---|---|---|---|
| errcode | integer |
None. |
|
| errmsg | string |
None. |
|
| tag | Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
{
"errcode": 1,
"errmsg": "sample string 2",
"tag": "QEA="
}
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfbase64Binary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>QEA=</tag> </CommonOperationResultWithTagOfbase64Binary>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.