POST api/Drug/excel?api={api}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
api

string

Required

Body Parameters

Collection of DrugExcel
NameDescriptionTypeAdditional information
id

id (api tự sinh)

string

None.

idpartner

id đối tác

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.

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

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.

codeinsurance

Mã BHYT

string

None.

orderinginsure

STT BHYT

string

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.

packing

Đóng gói

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 sỉ

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.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "idpartner": "sample string 2",
    "idbrandpartner": "sample string 3",
    "namecate": "sample string 4",
    "pharmacological": "sample string 5",
    "codecontractor": "sample string 6",
    "namecontractor": "sample string 7",
    "namedosageform": "sample string 8",
    "codenational": "sample string 9",
    "code": "sample string 10",
    "name": "sample string 11",
    "nameinsure": "sample string 12",
    "nameactive": "sample string 13",
    "nameunit": "sample string 14",
    "codeinsurance": "sample string 15",
    "orderinginsure": "sample string 16",
    "howuse": "sample string 17",
    "batch": "sample string 18",
    "dateexp": "sample string 19",
    "namecountry": "sample string 20",
    "nameproducer": "sample string 21",
    "namesupplier": "sample string 22",
    "packing": "sample string 23",
    "coderegister": "sample string 24",
    "content": "sample string 25",
    "idcreate": "sample string 26",
    "codecreate": "sample string 27",
    "namecreate": "sample string 28",
    "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 29",
    "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
  },
  {
    "id": "sample string 1",
    "idpartner": "sample string 2",
    "idbrandpartner": "sample string 3",
    "namecate": "sample string 4",
    "pharmacological": "sample string 5",
    "codecontractor": "sample string 6",
    "namecontractor": "sample string 7",
    "namedosageform": "sample string 8",
    "codenational": "sample string 9",
    "code": "sample string 10",
    "name": "sample string 11",
    "nameinsure": "sample string 12",
    "nameactive": "sample string 13",
    "nameunit": "sample string 14",
    "codeinsurance": "sample string 15",
    "orderinginsure": "sample string 16",
    "howuse": "sample string 17",
    "batch": "sample string 18",
    "dateexp": "sample string 19",
    "namecountry": "sample string 20",
    "nameproducer": "sample string 21",
    "namesupplier": "sample string 22",
    "packing": "sample string 23",
    "coderegister": "sample string 24",
    "content": "sample string 25",
    "idcreate": "sample string 26",
    "codecreate": "sample string 27",
    "namecreate": "sample string 28",
    "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 29",
    "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
  }
]

application/xml, text/xml

Sample:
<ArrayOfDrugExcel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category">
  <DrugExcel>
    <batch>sample string 18</batch>
    <code>sample string 10</code>
    <codecontractor>sample string 6</codecontractor>
    <codecreate>sample string 27</codecreate>
    <codeinsurance>sample string 15</codeinsurance>
    <codenational>sample string 9</codenational>
    <coderegister>sample string 24</coderegister>
    <content>sample string 25</content>
    <cost>1.1</cost>
    <dateexp>sample string 19</dateexp>
    <howuse>sample string 17</howuse>
    <id>sample string 1</id>
    <idbrandpartner>sample string 3</idbrandpartner>
    <idcreate>sample string 26</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>
    <isvaccine>true</isvaccine>
    <name>sample string 11</name>
    <nameactive>sample string 13</nameactive>
    <namecate>sample string 4</namecate>
    <namecontractor>sample string 7</namecontractor>
    <namecountry>sample string 20</namecountry>
    <namecreate>sample string 28</namecreate>
    <namedosageform>sample string 8</namedosageform>
    <nameinsure>sample string 12</nameinsure>
    <nameproducer>sample string 21</nameproducer>
    <namestore>sample string 29</namestore>
    <namesupplier>sample string 22</namesupplier>
    <nameunit>sample string 14</nameunit>
    <orderinginsure>sample string 16</orderinginsure>
    <packing>sample string 23</packing>
    <pharmacological>sample string 5</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>
  </DrugExcel>
  <DrugExcel>
    <batch>sample string 18</batch>
    <code>sample string 10</code>
    <codecontractor>sample string 6</codecontractor>
    <codecreate>sample string 27</codecreate>
    <codeinsurance>sample string 15</codeinsurance>
    <codenational>sample string 9</codenational>
    <coderegister>sample string 24</coderegister>
    <content>sample string 25</content>
    <cost>1.1</cost>
    <dateexp>sample string 19</dateexp>
    <howuse>sample string 17</howuse>
    <id>sample string 1</id>
    <idbrandpartner>sample string 3</idbrandpartner>
    <idcreate>sample string 26</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>
    <isvaccine>true</isvaccine>
    <name>sample string 11</name>
    <nameactive>sample string 13</nameactive>
    <namecate>sample string 4</namecate>
    <namecontractor>sample string 7</namecontractor>
    <namecountry>sample string 20</namecountry>
    <namecreate>sample string 28</namecreate>
    <namedosageform>sample string 8</namedosageform>
    <nameinsure>sample string 12</nameinsure>
    <nameproducer>sample string 21</nameproducer>
    <namestore>sample string 29</namestore>
    <namesupplier>sample string 22</namesupplier>
    <nameunit>sample string 14</nameunit>
    <orderinginsure>sample string 16</orderinginsure>
    <packing>sample string 23</packing>
    <pharmacological>sample string 5</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>
  </DrugExcel>
</ArrayOfDrugExcel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DataInsert
NameDescriptionTypeAdditional 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

Sample:
{
  "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

Sample:
/**/ 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

Sample:
<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>