GET api/AccountingSell/drug?api={api}&page={page}&limit={limit}&idpartner={idpartner}&idbrandpartner={idbrandpartner}&idstore={idstore}&keyword={keyword}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
page | integer |
Default value is 1 |
|
limit | integer |
Default value is 50 |
|
idpartner | string |
Default value is |
|
idbrandpartner | string |
Default value is |
|
idstore | string |
Default value is |
|
keyword | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
objAccountingSellProductName | Description | Type | Additional information |
---|---|---|---|
data | Collection of AccountingSellProduct |
None. |
|
time |
Thời gian server trả về |
integer |
None. |
status |
Trạng thái |
string |
None. |
message |
Thông báo |
string |
None. |
codemessage |
Mã lỗi |
string |
None. |
strprint |
phiếu in hoặc xuất file |
string |
None. |
strexcel |
file excel |
string |
None. |
strword |
file word |
string |
None. |
page |
Trang số |
integer |
None. |
totalpage |
Tổng số trang |
decimal number |
None. |
totalrecord |
Tổng số bản ghi |
decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idsell": "sample string 4", "codesell": "sample string 5", "datesell": "sample string 6", "idcate": "sample string 7", "codecate": "sample string 8", "namecate": "sample string 9", "codeinsurance": "sample string 10", "code": "sample string 11", "content": "sample string 12", "idproduct": "sample string 13", "name": "sample string 14", "commerce": "sample string 15", "idunit": "sample string 16", "nameunit": "sample string 17", "iduse": "sample string 18", "codeuse": "sample string 19", "nameuse": "sample string 20", "orderinguse": 1.1, "idform": "sample string 21", "codeform": "sample string 22", "nameform": "sample string 23", "idunituse": "sample string 24", "nameunituse": "sample string 25", "idunitbuy": "sample string 26", "nameunitbuy": "sample string 27", "qtychange": 1.1, "idmodelservice": 1, "namemodelservice": "sample string 28", "codenational": "sample string 29", "idstore": "sample string 30", "codestore": "sample string 31", "namestore": "sample string 32", "qty": 1.1, "total": 1.1, "qtyavailable": 1.1, "totalavailable": 1.1, "idactive": "sample string 33", "codeactive": "sample string 34", "nameactive": "sample string 35", "price": 1.1, "wholesale": 1.1, "tax": 1.1, "discount": 1.1, "totalcost": 1.1, "totaldiscount": 1.1, "lstprice": [ { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idmodelservice": 1, "namemodelservice": "sample string 4", "idproduct": "sample string 5", "wholesale": 1.1, "pricesend": 1.1, "surchargesend": 1.1, "pricecheck": 1.1, "surchargecheck": 1.1, "tax": 1.1, "isdefault": true, "fromdate": "sample string 6", "todate": "sample string 7", "nameunitbuy": "sample string 8", "nameunit": "sample string 9" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idmodelservice": 1, "namemodelservice": "sample string 4", "idproduct": "sample string 5", "wholesale": 1.1, "pricesend": 1.1, "surchargesend": 1.1, "pricecheck": 1.1, "surchargecheck": 1.1, "tax": 1.1, "isdefault": true, "fromdate": "sample string 6", "todate": "sample string 7", "nameunitbuy": "sample string 8", "nameunit": "sample string 9" } ] }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idsell": "sample string 4", "codesell": "sample string 5", "datesell": "sample string 6", "idcate": "sample string 7", "codecate": "sample string 8", "namecate": "sample string 9", "codeinsurance": "sample string 10", "code": "sample string 11", "content": "sample string 12", "idproduct": "sample string 13", "name": "sample string 14", "commerce": "sample string 15", "idunit": "sample string 16", "nameunit": "sample string 17", "iduse": "sample string 18", "codeuse": "sample string 19", "nameuse": "sample string 20", "orderinguse": 1.1, "idform": "sample string 21", "codeform": "sample string 22", "nameform": "sample string 23", "idunituse": "sample string 24", "nameunituse": "sample string 25", "idunitbuy": "sample string 26", "nameunitbuy": "sample string 27", "qtychange": 1.1, "idmodelservice": 1, "namemodelservice": "sample string 28", "codenational": "sample string 29", "idstore": "sample string 30", "codestore": "sample string 31", "namestore": "sample string 32", "qty": 1.1, "total": 1.1, "qtyavailable": 1.1, "totalavailable": 1.1, "idactive": "sample string 33", "codeactive": "sample string 34", "nameactive": "sample string 35", "price": 1.1, "wholesale": 1.1, "tax": 1.1, "discount": 1.1, "totalcost": 1.1, "totaldiscount": 1.1, "lstprice": [ { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idmodelservice": 1, "namemodelservice": "sample string 4", "idproduct": "sample string 5", "wholesale": 1.1, "pricesend": 1.1, "surchargesend": 1.1, "pricecheck": 1.1, "surchargecheck": 1.1, "tax": 1.1, "isdefault": true, "fromdate": "sample string 6", "todate": "sample string 7", "nameunitbuy": "sample string 8", "nameunit": "sample string 9" }, { "id": "sample string 1", "idpartner": "sample string 2", "idbrandpartner": "sample string 3", "idmodelservice": 1, "namemodelservice": "sample string 4", "idproduct": "sample string 5", "wholesale": 1.1, "pricesend": 1.1, "surchargesend": 1.1, "pricecheck": 1.1, "surchargecheck": 1.1, "tax": 1.1, "isdefault": true, "fromdate": "sample string 6", "todate": "sample string 7", "nameunitbuy": "sample string 8", "nameunit": "sample string 9" } ] } ], "time": 1, "status": "sample string 2", "message": "sample string 3", "codemessage": "samplestring3", "strprint": "sample string 5", "strexcel": "sample string 6", "strword": "sample string 7", "page": 8, "totalpage": 9.1, "totalrecord": 10.1 }
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"data":[{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idsell":"sample string 4","codesell":"sample string 5","datesell":"sample string 6","idcate":"sample string 7","codecate":"sample string 8","namecate":"sample string 9","codeinsurance":"sample string 10","code":"sample string 11","content":"sample string 12","idproduct":"sample string 13","name":"sample string 14","commerce":"sample string 15","idunit":"sample string 16","nameunit":"sample string 17","iduse":"sample string 18","codeuse":"sample string 19","nameuse":"sample string 20","orderinguse":1.1,"idform":"sample string 21","codeform":"sample string 22","nameform":"sample string 23","idunituse":"sample string 24","nameunituse":"sample string 25","idunitbuy":"sample string 26","nameunitbuy":"sample string 27","qtychange":1.1,"idmodelservice":1,"namemodelservice":"sample string 28","codenational":"sample string 29","idstore":"sample string 30","codestore":"sample string 31","namestore":"sample string 32","qty":1.1,"total":1.1,"qtyavailable":1.1,"totalavailable":1.1,"idactive":"sample string 33","codeactive":"sample string 34","nameactive":"sample string 35","price":1.1,"wholesale":1.1,"tax":1.1,"discount":1.1,"totalcost":1.1,"totaldiscount":1.1,"lstprice":[{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idmodelservice":1,"namemodelservice":"sample string 4","idproduct":"sample string 5","wholesale":1.1,"pricesend":1.1,"surchargesend":1.1,"pricecheck":1.1,"surchargecheck":1.1,"tax":1.1,"isdefault":true,"fromdate":"sample string 6","todate":"sample string 7","nameunitbuy":"sample string 8","nameunit":"sample string 9"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idmodelservice":1,"namemodelservice":"sample string 4","idproduct":"sample string 5","wholesale":1.1,"pricesend":1.1,"surchargesend":1.1,"pricecheck":1.1,"surchargecheck":1.1,"tax":1.1,"isdefault":true,"fromdate":"sample string 6","todate":"sample string 7","nameunitbuy":"sample string 8","nameunit":"sample string 9"}]},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idsell":"sample string 4","codesell":"sample string 5","datesell":"sample string 6","idcate":"sample string 7","codecate":"sample string 8","namecate":"sample string 9","codeinsurance":"sample string 10","code":"sample string 11","content":"sample string 12","idproduct":"sample string 13","name":"sample string 14","commerce":"sample string 15","idunit":"sample string 16","nameunit":"sample string 17","iduse":"sample string 18","codeuse":"sample string 19","nameuse":"sample string 20","orderinguse":1.1,"idform":"sample string 21","codeform":"sample string 22","nameform":"sample string 23","idunituse":"sample string 24","nameunituse":"sample string 25","idunitbuy":"sample string 26","nameunitbuy":"sample string 27","qtychange":1.1,"idmodelservice":1,"namemodelservice":"sample string 28","codenational":"sample string 29","idstore":"sample string 30","codestore":"sample string 31","namestore":"sample string 32","qty":1.1,"total":1.1,"qtyavailable":1.1,"totalavailable":1.1,"idactive":"sample string 33","codeactive":"sample string 34","nameactive":"sample string 35","price":1.1,"wholesale":1.1,"tax":1.1,"discount":1.1,"totalcost":1.1,"totaldiscount":1.1,"lstprice":[{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idmodelservice":1,"namemodelservice":"sample string 4","idproduct":"sample string 5","wholesale":1.1,"pricesend":1.1,"surchargesend":1.1,"pricecheck":1.1,"surchargecheck":1.1,"tax":1.1,"isdefault":true,"fromdate":"sample string 6","todate":"sample string 7","nameunitbuy":"sample string 8","nameunit":"sample string 9"},{"id":"sample string 1","idpartner":"sample string 2","idbrandpartner":"sample string 3","idmodelservice":1,"namemodelservice":"sample string 4","idproduct":"sample string 5","wholesale":1.1,"pricesend":1.1,"surchargesend":1.1,"pricecheck":1.1,"surchargecheck":1.1,"tax":1.1,"isdefault":true,"fromdate":"sample string 6","todate":"sample string 7","nameunitbuy":"sample string 8","nameunit":"sample string 9"}]}],"time":1,"status":"sample string 2","message":"sample string 3","codemessage":"samplestring3","strprint":"sample string 5","strexcel":"sample string 6","strword":"sample string 7","page":8,"totalpage":9.1,"totalrecord":10.1});
application/xml, text/xml
Sample:
<objAccountingSellProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Accounting"> <codemessage xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">samplestring3</codemessage> <message xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 3</message> <page xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">8</page> <status xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 2</status> <strexcel xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 6</strexcel> <strprint xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 5</strprint> <strword xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 7</strword> <time xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">1</time> <totalpage xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">9.1</totalpage> <totalrecord xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">10.1</totalrecord> <data> <AccountingSellProduct> <code>sample string 11</code> <codeactive>sample string 34</codeactive> <codecate>sample string 8</codecate> <codeform>sample string 22</codeform> <codeinsurance>sample string 10</codeinsurance> <codenational>sample string 29</codenational> <codesell>sample string 5</codesell> <codestore>sample string 31</codestore> <codeuse>sample string 19</codeuse> <commerce>sample string 15</commerce> <content>sample string 12</content> <datesell>sample string 6</datesell> <discount>1.1</discount> <id>sample string 1</id> <idactive>sample string 33</idactive> <idbrandpartner>sample string 3</idbrandpartner> <idcate>sample string 7</idcate> <idform>sample string 21</idform> <idmodelservice>1</idmodelservice> <idpartner>sample string 2</idpartner> <idproduct>sample string 13</idproduct> <idsell>sample string 4</idsell> <idstore>sample string 30</idstore> <idunit>sample string 16</idunit> <idunitbuy>sample string 26</idunitbuy> <idunituse>sample string 24</idunituse> <iduse>sample string 18</iduse> <lstprice xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <d4p1:PriceTotalWhole> <d4p1:fromdate>sample string 6</d4p1:fromdate> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idmodelservice>1</d4p1:idmodelservice> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idproduct>sample string 5</d4p1:idproduct> <d4p1:isdefault>true</d4p1:isdefault> <d4p1:namemodelservice>sample string 4</d4p1:namemodelservice> <d4p1:nameunit>sample string 9</d4p1:nameunit> <d4p1:nameunitbuy>sample string 8</d4p1:nameunitbuy> <d4p1:pricecheck>1.1</d4p1:pricecheck> <d4p1:pricesend>1.1</d4p1:pricesend> <d4p1:surchargecheck>1.1</d4p1:surchargecheck> <d4p1:surchargesend>1.1</d4p1:surchargesend> <d4p1:tax>1.1</d4p1:tax> <d4p1:todate>sample string 7</d4p1:todate> <d4p1:wholesale>1.1</d4p1:wholesale> </d4p1:PriceTotalWhole> <d4p1:PriceTotalWhole> <d4p1:fromdate>sample string 6</d4p1:fromdate> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idmodelservice>1</d4p1:idmodelservice> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idproduct>sample string 5</d4p1:idproduct> <d4p1:isdefault>true</d4p1:isdefault> <d4p1:namemodelservice>sample string 4</d4p1:namemodelservice> <d4p1:nameunit>sample string 9</d4p1:nameunit> <d4p1:nameunitbuy>sample string 8</d4p1:nameunitbuy> <d4p1:pricecheck>1.1</d4p1:pricecheck> <d4p1:pricesend>1.1</d4p1:pricesend> <d4p1:surchargecheck>1.1</d4p1:surchargecheck> <d4p1:surchargesend>1.1</d4p1:surchargesend> <d4p1:tax>1.1</d4p1:tax> <d4p1:todate>sample string 7</d4p1:todate> <d4p1:wholesale>1.1</d4p1:wholesale> </d4p1:PriceTotalWhole> </lstprice> <name>sample string 14</name> <nameactive>sample string 35</nameactive> <namecate>sample string 9</namecate> <nameform>sample string 23</nameform> <namemodelservice>sample string 28</namemodelservice> <namestore>sample string 32</namestore> <nameunit>sample string 17</nameunit> <nameunitbuy>sample string 27</nameunitbuy> <nameunituse>sample string 25</nameunituse> <nameuse>sample string 20</nameuse> <orderinguse>1.1</orderinguse> <price>1.1</price> <qty>1.1</qty> <qtyavailable>1.1</qtyavailable> <qtychange>1.1</qtychange> <tax>1.1</tax> <total>1.1</total> <totalavailable>1.1</totalavailable> <totalcost>1.1</totalcost> <totaldiscount>1.1</totaldiscount> <wholesale>1.1</wholesale> </AccountingSellProduct> <AccountingSellProduct> <code>sample string 11</code> <codeactive>sample string 34</codeactive> <codecate>sample string 8</codecate> <codeform>sample string 22</codeform> <codeinsurance>sample string 10</codeinsurance> <codenational>sample string 29</codenational> <codesell>sample string 5</codesell> <codestore>sample string 31</codestore> <codeuse>sample string 19</codeuse> <commerce>sample string 15</commerce> <content>sample string 12</content> <datesell>sample string 6</datesell> <discount>1.1</discount> <id>sample string 1</id> <idactive>sample string 33</idactive> <idbrandpartner>sample string 3</idbrandpartner> <idcate>sample string 7</idcate> <idform>sample string 21</idform> <idmodelservice>1</idmodelservice> <idpartner>sample string 2</idpartner> <idproduct>sample string 13</idproduct> <idsell>sample string 4</idsell> <idstore>sample string 30</idstore> <idunit>sample string 16</idunit> <idunitbuy>sample string 26</idunitbuy> <idunituse>sample string 24</idunituse> <iduse>sample string 18</iduse> <lstprice xmlns:d4p1="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <d4p1:PriceTotalWhole> <d4p1:fromdate>sample string 6</d4p1:fromdate> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idmodelservice>1</d4p1:idmodelservice> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idproduct>sample string 5</d4p1:idproduct> <d4p1:isdefault>true</d4p1:isdefault> <d4p1:namemodelservice>sample string 4</d4p1:namemodelservice> <d4p1:nameunit>sample string 9</d4p1:nameunit> <d4p1:nameunitbuy>sample string 8</d4p1:nameunitbuy> <d4p1:pricecheck>1.1</d4p1:pricecheck> <d4p1:pricesend>1.1</d4p1:pricesend> <d4p1:surchargecheck>1.1</d4p1:surchargecheck> <d4p1:surchargesend>1.1</d4p1:surchargesend> <d4p1:tax>1.1</d4p1:tax> <d4p1:todate>sample string 7</d4p1:todate> <d4p1:wholesale>1.1</d4p1:wholesale> </d4p1:PriceTotalWhole> <d4p1:PriceTotalWhole> <d4p1:fromdate>sample string 6</d4p1:fromdate> <d4p1:id>sample string 1</d4p1:id> <d4p1:idbrandpartner>sample string 3</d4p1:idbrandpartner> <d4p1:idmodelservice>1</d4p1:idmodelservice> <d4p1:idpartner>sample string 2</d4p1:idpartner> <d4p1:idproduct>sample string 5</d4p1:idproduct> <d4p1:isdefault>true</d4p1:isdefault> <d4p1:namemodelservice>sample string 4</d4p1:namemodelservice> <d4p1:nameunit>sample string 9</d4p1:nameunit> <d4p1:nameunitbuy>sample string 8</d4p1:nameunitbuy> <d4p1:pricecheck>1.1</d4p1:pricecheck> <d4p1:pricesend>1.1</d4p1:pricesend> <d4p1:surchargecheck>1.1</d4p1:surchargecheck> <d4p1:surchargesend>1.1</d4p1:surchargesend> <d4p1:tax>1.1</d4p1:tax> <d4p1:todate>sample string 7</d4p1:todate> <d4p1:wholesale>1.1</d4p1:wholesale> </d4p1:PriceTotalWhole> </lstprice> <name>sample string 14</name> <nameactive>sample string 35</nameactive> <namecate>sample string 9</namecate> <nameform>sample string 23</nameform> <namemodelservice>sample string 28</namemodelservice> <namestore>sample string 32</namestore> <nameunit>sample string 17</nameunit> <nameunitbuy>sample string 27</nameunitbuy> <nameunituse>sample string 25</nameunituse> <nameuse>sample string 20</nameuse> <orderinguse>1.1</orderinguse> <price>1.1</price> <qty>1.1</qty> <qtyavailable>1.1</qtyavailable> <qtychange>1.1</qtychange> <tax>1.1</tax> <total>1.1</total> <totalavailable>1.1</totalavailable> <totalcost>1.1</totalcost> <totaldiscount>1.1</totaldiscount> <wholesale>1.1</wholesale> </AccountingSellProduct> </data> </objAccountingSellProduct>