POST api/DrugPharmacy/excel?api={api}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
Body Parameters
Collection of DrugPharmacyExcelName | Description | Type | Additional information |
---|---|---|---|
id |
id (api tự sinh) |
string |
None. |
idpartner |
id đối tác |
string |
None. |
dateimport |
Ngày nhập yyyyMMddHHmm |
string |
None. |
idbrandpartner |
id chi nhánh |
string |
None. |
namecate |
Tên nhóm |
string |
None. |
pharmacological |
Tên nhóm dược lý |
string |
None. |
packing |
quy cách đóng gói |
string |
None. |
codecontractor |
Mã nhóm thầu |
string |
None. |
namecontractor |
Tên nhóm thầu |
string |
None. |
namedosageform |
Dạng bào chế |
string |
None. |
codenational |
Mã dược quốc gia |
string |
None. |
code |
Mã |
string |
None. |
name |
Tên |
string |
None. |
nameinsure |
Tên BHYT |
string |
None. |
nameactive |
Hoạt chất |
string |
None. |
nameunit |
Đơn vị nhỏ nhât |
string |
None. |
nameunituse |
Đơn vị sử dụng |
string |
None. |
codeinsurance |
Mã BHYT |
string |
None. |
orderinginsure |
STT BHYT |
decimal number |
None. |
howuse |
Đường dùng |
string |
None. |
batch |
Số lô |
string |
None. |
dateexp |
Hạn sử dụng |
string |
None. |
namecountry |
Tên nước sản xuất |
string |
None. |
nameproducer |
Hãng sản xuât |
string |
None. |
namesupplier |
Tên nhà cung cấp |
string |
None. |
coderegister |
Số đăng ký |
string |
None. |
content |
Hàm lượng |
string |
None. |
idcreate |
id người tạo |
string |
None. |
codecreate |
Mã người tạo |
string |
None. |
namecreate |
Tên người tạo |
string |
None. |
cost |
Giá nhập |
decimal number |
None. |
tax |
% Thuế |
decimal number |
None. |
wholesale |
Giá bán NNN |
decimal number |
None. |
priceinsure |
Giá BHYT |
decimal number |
None. |
pricefee |
Giá Viện phí |
decimal number |
None. |
price |
Giá tự nguyện |
decimal number |
None. |
pricesend |
Giá gửi |
decimal number |
None. |
pricecheck |
Giá kê khai |
decimal number |
None. |
namestore |
Kho nhập |
string |
None. |
qty |
Số lượng tồn |
decimal number |
None. |
isinfusion |
Là dịch truyền |
boolean |
None. |
ishiv |
Thuốc HIV |
boolean |
None. |
isantibiotic |
Là kháng sinh |
boolean |
None. |
isradiation |
thuốc phóng xạ true/false |
boolean |
None. |
isaddictive |
Là thuốc gây nghiện |
boolean |
None. |
isdirection |
Là thuốc hướng thần |
boolean |
None. |
isprecursor |
Tiền chất dùng làm thuốc true/false |
boolean |
None. |
iscancer |
Thuốc ung thư |
boolean |
None. |
isfollow |
Thuốc cần theo dõi |
boolean |
None. |
isoxy |
Là oxy |
boolean |
None. |
isvaccine |
Là vaccine |
boolean |
None. |
isflavor |
Vị thuốc YHCT true/false |
boolean |
None. |
isproduct |
Thành phẩm YHCT true/false |
boolean |
None. |
isfood |
Thực phẩm chức năng true/false |
boolean |
None. |
iscosmetic |
Thành phẩm YHCT true/false |
boolean |
None. |
isnew |
Là tân dược |
boolean |
None. |
isnewmanufactor |
Là tân dược tự bào chế |
boolean |
None. |
isnational |
Không đẩy đơn thuốc quốc gia |
boolean |
None. |
isstuff |
Là vật tư |
boolean |
None. |
Request Formats
application/json, text/json
[ { "id": "sample string 1", "idpartner": "sample string 2", "dateimport": "sample string 3", "idbrandpartner": "sample string 4", "namecate": "sample string 5", "pharmacological": "sample string 6", "packing": "sample string 7", "codecontractor": "sample string 8", "namecontractor": "sample string 9", "namedosageform": "sample string 10", "codenational": "sample string 11", "code": "sample string 12", "name": "sample string 13", "nameinsure": "sample string 14", "nameactive": "sample string 15", "nameunit": "sample string 16", "nameunituse": "sample string 17", "codeinsurance": "sample string 18", "orderinginsure": 1.1, "howuse": "sample string 19", "batch": "sample string 20", "dateexp": "sample string 21", "namecountry": "sample string 22", "nameproducer": "sample string 23", "namesupplier": "sample string 24", "coderegister": "sample string 25", "content": "sample string 26", "idcreate": "sample string 27", "codecreate": "sample string 28", "namecreate": "sample string 29", "cost": 1.1, "tax": 1.1, "wholesale": 1.1, "priceinsure": 1.1, "pricefee": 1.1, "price": 1.1, "pricesend": 1.1, "pricecheck": 1.1, "namestore": "sample string 30", "qty": 1.1, "isinfusion": true, "ishiv": true, "isantibiotic": true, "isradiation": true, "isaddictive": true, "isdirection": true, "isprecursor": true, "iscancer": true, "isfollow": true, "isoxy": true, "isvaccine": true, "isflavor": true, "isproduct": true, "isfood": true, "iscosmetic": true, "isnew": true, "isnewmanufactor": true, "isnational": true, "isstuff": true }, { "id": "sample string 1", "idpartner": "sample string 2", "dateimport": "sample string 3", "idbrandpartner": "sample string 4", "namecate": "sample string 5", "pharmacological": "sample string 6", "packing": "sample string 7", "codecontractor": "sample string 8", "namecontractor": "sample string 9", "namedosageform": "sample string 10", "codenational": "sample string 11", "code": "sample string 12", "name": "sample string 13", "nameinsure": "sample string 14", "nameactive": "sample string 15", "nameunit": "sample string 16", "nameunituse": "sample string 17", "codeinsurance": "sample string 18", "orderinginsure": 1.1, "howuse": "sample string 19", "batch": "sample string 20", "dateexp": "sample string 21", "namecountry": "sample string 22", "nameproducer": "sample string 23", "namesupplier": "sample string 24", "coderegister": "sample string 25", "content": "sample string 26", "idcreate": "sample string 27", "codecreate": "sample string 28", "namecreate": "sample string 29", "cost": 1.1, "tax": 1.1, "wholesale": 1.1, "priceinsure": 1.1, "pricefee": 1.1, "price": 1.1, "pricesend": 1.1, "pricecheck": 1.1, "namestore": "sample string 30", "qty": 1.1, "isinfusion": true, "ishiv": true, "isantibiotic": true, "isradiation": true, "isaddictive": true, "isdirection": true, "isprecursor": true, "iscancer": true, "isfollow": true, "isoxy": true, "isvaccine": true, "isflavor": true, "isproduct": true, "isfood": true, "iscosmetic": true, "isnew": true, "isnewmanufactor": true, "isnational": true, "isstuff": true } ]
application/xml, text/xml
<ArrayOfDrugPharmacyExcel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <DrugPharmacyExcel> <batch>sample string 20</batch> <code>sample string 12</code> <codecontractor>sample string 8</codecontractor> <codecreate>sample string 28</codecreate> <codeinsurance>sample string 18</codeinsurance> <codenational>sample string 11</codenational> <coderegister>sample string 25</coderegister> <content>sample string 26</content> <cost>1.1</cost> <dateexp>sample string 21</dateexp> <dateimport>sample string 3</dateimport> <howuse>sample string 19</howuse> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 27</idcreate> <idpartner>sample string 2</idpartner> <isaddictive>true</isaddictive> <isantibiotic>true</isantibiotic> <iscancer>true</iscancer> <iscosmetic>true</iscosmetic> <isdirection>true</isdirection> <isflavor>true</isflavor> <isfollow>true</isfollow> <isfood>true</isfood> <ishiv>true</ishiv> <isinfusion>true</isinfusion> <isnational>true</isnational> <isnew>true</isnew> <isnewmanufactor>true</isnewmanufactor> <isoxy>true</isoxy> <isprecursor>true</isprecursor> <isproduct>true</isproduct> <isradiation>true</isradiation> <isstuff>true</isstuff> <isvaccine>true</isvaccine> <name>sample string 13</name> <nameactive>sample string 15</nameactive> <namecate>sample string 5</namecate> <namecontractor>sample string 9</namecontractor> <namecountry>sample string 22</namecountry> <namecreate>sample string 29</namecreate> <namedosageform>sample string 10</namedosageform> <nameinsure>sample string 14</nameinsure> <nameproducer>sample string 23</nameproducer> <namestore>sample string 30</namestore> <namesupplier>sample string 24</namesupplier> <nameunit>sample string 16</nameunit> <nameunituse>sample string 17</nameunituse> <orderinginsure>1.1</orderinginsure> <packing>sample string 7</packing> <pharmacological>sample string 6</pharmacological> <price>1.1</price> <pricecheck>1.1</pricecheck> <pricefee>1.1</pricefee> <priceinsure>1.1</priceinsure> <pricesend>1.1</pricesend> <qty>1.1</qty> <tax>1.1</tax> <wholesale>1.1</wholesale> </DrugPharmacyExcel> <DrugPharmacyExcel> <batch>sample string 20</batch> <code>sample string 12</code> <codecontractor>sample string 8</codecontractor> <codecreate>sample string 28</codecreate> <codeinsurance>sample string 18</codeinsurance> <codenational>sample string 11</codenational> <coderegister>sample string 25</coderegister> <content>sample string 26</content> <cost>1.1</cost> <dateexp>sample string 21</dateexp> <dateimport>sample string 3</dateimport> <howuse>sample string 19</howuse> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 27</idcreate> <idpartner>sample string 2</idpartner> <isaddictive>true</isaddictive> <isantibiotic>true</isantibiotic> <iscancer>true</iscancer> <iscosmetic>true</iscosmetic> <isdirection>true</isdirection> <isflavor>true</isflavor> <isfollow>true</isfollow> <isfood>true</isfood> <ishiv>true</ishiv> <isinfusion>true</isinfusion> <isnational>true</isnational> <isnew>true</isnew> <isnewmanufactor>true</isnewmanufactor> <isoxy>true</isoxy> <isprecursor>true</isprecursor> <isproduct>true</isproduct> <isradiation>true</isradiation> <isstuff>true</isstuff> <isvaccine>true</isvaccine> <name>sample string 13</name> <nameactive>sample string 15</nameactive> <namecate>sample string 5</namecate> <namecontractor>sample string 9</namecontractor> <namecountry>sample string 22</namecountry> <namecreate>sample string 29</namecreate> <namedosageform>sample string 10</namedosageform> <nameinsure>sample string 14</nameinsure> <nameproducer>sample string 23</nameproducer> <namestore>sample string 30</namestore> <namesupplier>sample string 24</namesupplier> <nameunit>sample string 16</nameunit> <nameunituse>sample string 17</nameunituse> <orderinginsure>1.1</orderinginsure> <packing>sample string 7</packing> <pharmacological>sample string 6</pharmacological> <price>1.1</price> <pricecheck>1.1</pricecheck> <pricefee>1.1</pricefee> <priceinsure>1.1</priceinsure> <pricesend>1.1</pricesend> <qty>1.1</qty> <tax>1.1</tax> <wholesale>1.1</wholesale> </DrugPharmacyExcel> </ArrayOfDrugPharmacyExcel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
DataInsertName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
message | string |
None. |
|
id | string |
None. |
|
code | string |
None. |
|
code1 | string |
None. |
|
strprint | string |
None. |
Response Formats
application/json, text/json
{ "status": "sample string 1", "message": "sample string 2", "id": "sample string 3", "code": "sample string 4", "code1": "sample string 5", "strprint": "sample string 6" }
text/javascript, application/javascript, application/json-p
/**/ typeof === 'function' && ({"status":"sample string 1","message":"sample string 2","id":"sample string 3","code":"sample string 4","code1":"sample string 5","strprint":"sample string 6"});
application/xml, text/xml
<DataInsert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models"> <code>sample string 4</code> <code1>sample string 5</code1> <id>sample string 3</id> <message>sample string 2</message> <status>sample string 1</status> <strprint>sample string 6</strprint> </DataInsert>