POST api/StoreStuffExportImport/printinstore?api={api}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&keyword={keyword}

In phiếu Vật tư trong kho

Request Information

URI Parameters

NameDescriptionTypeAdditional 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

keyword

Từ khóa

string

Default value is

Body Parameters

Đối tương in

InThuocTrongKho
NameDescriptionTypeAdditional information
idproduct

id thuốc

string

None.

idstore

id kho

string

None.

namestore

tên kho

string

None.

Request Formats

application/json, text/json

Sample:
{
  "idproduct": "sample string 1",
  "idstore": "sample string 2",
  "namestore": "sample string 3"
}

application/xml, text/xml

Sample:
<InThuocTrongKho xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Store">
  <idproduct>sample string 1</idproduct>
  <idstore>sample string 2</idstore>
  <namestore>sample string 3</namestore>
</InThuocTrongKho>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

dataPrint
NameDescriptionTypeAdditional 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.

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"
}

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"});

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>
  <strprint>sample string 4</strprint>
  <strword>sample string 6</strword>
  <time>1</time>
</dataPrint>