GET api/StoreStuffImport/print?api={api}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&id={id}
In phiếu
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api |
Mã API do hệ thống cung cấp |
string |
Required |
| idpartner |
id đối tác |
string |
Default value is |
| idbrandpartner |
id chi nhánh |
string |
Default value is |
| id |
Id phiếu |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
dataPrint| Name | Description | Type | Additional information |
|---|---|---|---|
| time |
Thời gian server trả về |
integer |
None. |
| status |
Trạng thái |
string |
None. |
| message |
Thông báo |
string |
None. |
| strprint |
Mẫu phiếu in |
string |
None. |
| strexcel |
file excel |
string |
None. |
| strword |
file word |
string |
None. |
| strhtml |
file html |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"time": 1,
"status": "sample string 2",
"message": "sample string 3",
"strprint": "sample string 4",
"strexcel": "sample string 5",
"strword": "sample string 6",
"strhtml": "sample string 7"
}
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"time":1,"status":"sample string 2","message":"sample string 3","strprint":"sample string 4","strexcel":"sample string 5","strword":"sample string 6","strhtml":"sample string 7"});
application/xml, text/xml
Sample:
<dataPrint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models"> <message>sample string 3</message> <status>sample string 2</status> <strexcel>sample string 5</strexcel> <strhtml>sample string 7</strhtml> <strprint>sample string 4</strprint> <strword>sample string 6</strword> <time>1</time> </dataPrint>