POST api/Stuff/Update?api={api}&id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
id | string |
Default value is |
Body Parameters
StuffModelName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
idkey | string |
None. |
|
idpartner | string |
None. |
|
idbrandpartner | string |
None. |
|
idcate | string |
None. |
|
codecate | string |
None. |
|
namecate | string |
None. |
|
codeinsurance | string |
None. |
|
nameinsurance | string |
None. |
|
code | string |
None. |
|
name | string |
None. |
|
idunit | string |
None. |
|
nameunit | string |
None. |
|
idunitbuy | string |
None. |
|
nameunitbuy | string |
None. |
|
qtychange | decimal number |
None. |
|
idmodelservice | integer |
None. |
|
namemodelservice | string |
None. |
|
idehc | integer |
None. |
|
codeehc | string |
None. |
|
qtycheck | decimal number |
None. |
|
qtydefault | decimal number |
None. |
|
qty | decimal number |
None. |
|
qtyavailable | decimal number |
None. |
|
qtyhight | decimal number |
None. |
|
qtylow | decimal number |
None. |
|
idsubject | string |
None. |
|
namesubject | string |
None. |
|
ordering | integer |
None. |
|
isdiscount | boolean |
None. |
|
ischange | boolean |
None. |
|
isdestroy | boolean |
None. |
|
isbold | boolean |
None. |
|
isinvoice | boolean |
None. |
|
notuse | boolean |
None. |
|
datecreate | string |
None. |
|
idcreate | string |
None. |
|
codecreate | string |
None. |
|
namecreate | string |
None. |
|
dateedit | string |
None. |
|
idedit | string |
None. |
|
codeedit | string |
None. |
|
nameedit | string |
None. |
|
lstprice | Collection of PriceTotalAdd |
None. |
|
lstbonus | Collection of BonusTotalAdd |
None. |
|
listinsure | Collection of DrugInsureAdd |
None. |
|
lstbrand | Collection of ListBrand |
None. |
|
cost | decimal number |
None. |
|
tax | decimal number |
None. |
|
priceimport | decimal number |
None. |
|
taximport | decimal number |
None. |
|
rate |
Tỷ lệ % bảo hiểm thanh toán |
decimal number |
None. |
phamvi |
Phạm vi (1- BHYT Chi trả, 2- Ngoài BHYT, 3 - Ngoai BHYT trừ các đối tượng quân đội, công an) |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idcate": "sample string 5", "codecate": "sample string 6", "namecate": "sample string 7", "codeinsurance": "sample string 8", "nameinsurance": "sample string 9", "code": "sample string 10", "name": "sample string 11", "idunit": "sample string 12", "nameunit": "sample string 13", "idunitbuy": "sample string 14", "nameunitbuy": "sample string 15", "qtychange": 1.1, "idmodelservice": 1, "namemodelservice": "sample string 16", "idehc": 1, "codeehc": "sample string 17", "qtycheck": 1.1, "qtydefault": 1.1, "qty": 1.1, "qtyavailable": 1.1, "qtyhight": 1.1, "qtylow": 1.1, "idsubject": "sample string 18", "namesubject": "sample string 19", "ordering": 1, "isdiscount": true, "ischange": true, "isdestroy": true, "isbold": true, "isinvoice": true, "notuse": true, "datecreate": "sample string 20", "idcreate": "sample string 21", "codecreate": "sample string 22", "namecreate": "sample string 23", "dateedit": "sample string 24", "idedit": "sample string 25", "codeedit": "sample string 26", "nameedit": "sample string 27", "lstprice": [ { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idmodelservice": 1, "namemodelservice": "sample string 5", "idproduct": "sample string 6", "wholesale": 1.1, "priceinsure": 1.1, "surchargeinsure": 1.1, "pricefee": 1.1, "surchargefee": 1.1, "price": 1.1, "surchargeprice": 1.1, "pricesend": 1.1, "surchargesend": 1.1, "pricecheck": 1.1, "surchargecheck": 1.1, "tax": 1.1, "isdefault": true, "fromdate": "sample string 7", "todate": "sample string 8", "notuse": true, "datecreate": "sample string 9", "idcreate": "sample string 10", "codecreate": "sample string 11", "namecreate": "sample string 12", "dateedit": "sample string 13", "idedit": "sample string 14", "codeedit": "sample string 15", "nameedit": "sample string 16", "nameunit": "sample string 17", "nameunitbuy": "sample string 18", "fulltime": 1, "totime": 1 }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idmodelservice": 1, "namemodelservice": "sample string 5", "idproduct": "sample string 6", "wholesale": 1.1, "priceinsure": 1.1, "surchargeinsure": 1.1, "pricefee": 1.1, "surchargefee": 1.1, "price": 1.1, "surchargeprice": 1.1, "pricesend": 1.1, "surchargesend": 1.1, "pricecheck": 1.1, "surchargecheck": 1.1, "tax": 1.1, "isdefault": true, "fromdate": "sample string 7", "todate": "sample string 8", "notuse": true, "datecreate": "sample string 9", "idcreate": "sample string 10", "codecreate": "sample string 11", "namecreate": "sample string 12", "dateedit": "sample string 13", "idedit": "sample string 14", "codeedit": "sample string 15", "nameedit": "sample string 16", "nameunit": "sample string 17", "nameunitbuy": "sample string 18", "fulltime": 1, "totime": 1 } ], "lstbonus": [ { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idproduct": "sample string 5", "rateabout": 1.1, "rateadoctor": 1.1, "ratenurse": 1.1, "ratetechnical": 1.1, "ratesale": 1.1, "ratevote": 1.1, "ratereception": 1.1, "idmodelservice": 1, "namemodelservice": "sample string 6", "isdefault": true, "fromdate": 1, "todate": 1, "notuse": true, "datecreate": "sample string 7", "idcreate": "sample string 8", "codecreate": "sample string 9", "namecreate": "sample string 10", "dateedit": "sample string 11", "idedit": "sample string 12", "codeedit": "sample string 13", "nameedit": "sample string 14" }, { "id": "sample string 1", "idkey": "sample string 2", "idpartner": "sample string 3", "idbrandpartner": "sample string 4", "idproduct": "sample string 5", "rateabout": 1.1, "rateadoctor": 1.1, "ratenurse": 1.1, "ratetechnical": 1.1, "ratesale": 1.1, "ratevote": 1.1, "ratereception": 1.1, "idmodelservice": 1, "namemodelservice": "sample string 6", "isdefault": true, "fromdate": 1, "todate": 1, "notuse": true, "datecreate": "sample string 7", "idcreate": "sample string 8", "codecreate": "sample string 9", "namecreate": "sample string 10", "dateedit": "sample string 11", "idedit": "sample string 12", "codeedit": "sample string 13", "nameedit": "sample string 14" } ], "listinsure": [ { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "nameinsure": "sample string 4", "orderinginsure": "sample string 5", "codeinsure": "sample string 6", "quotainsure": 1.1, "typequota": 1, "rateright": 1.1, "rateopposite": 1.1, "isout": true, "isin": true, "fromdate": "sample string 7", "todate": "sample string 8" }, { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "nameinsure": "sample string 4", "orderinginsure": "sample string 5", "codeinsure": "sample string 6", "quotainsure": 1.1, "typequota": 1, "rateright": 1.1, "rateopposite": 1.1, "isout": true, "isin": true, "fromdate": "sample string 7", "todate": "sample string 8" } ], "lstbrand": [ { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "idbrand": "sample string 4", "namabrand": "sample string 5" }, { "id": "sample string 1", "idpartner": "sample string 2", "idproduct": "sample string 3", "idbrand": "sample string 4", "namabrand": "sample string 5" } ], "cost": 1.1, "tax": 1.1, "priceimport": 1.1, "taximport": 1.1, "rate": 1.1, "phamvi": 1 }
application/xml, text/xml
Sample:
<StuffModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <code>sample string 10</code> <codecate>sample string 6</codecate> <codecreate>sample string 22</codecreate> <codeedit>sample string 26</codeedit> <codeehc>sample string 17</codeehc> <codeinsurance>sample string 8</codeinsurance> <cost>1.1</cost> <datecreate>sample string 20</datecreate> <dateedit>sample string 24</dateedit> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcate>sample string 5</idcate> <idcreate>sample string 21</idcreate> <idedit>sample string 25</idedit> <idehc>1</idehc> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idsubject>sample string 18</idsubject> <idunit>sample string 12</idunit> <idunitbuy>sample string 14</idunitbuy> <isbold>true</isbold> <ischange>true</ischange> <isdestroy>true</isdestroy> <isdiscount>true</isdiscount> <isinvoice>true</isinvoice> <listinsure> <DrugInsureAdd> <codeinsure>sample string 6</codeinsure> <fromdate>sample string 7</fromdate> <id>sample string 1</id> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <isin>true</isin> <isout>true</isout> <nameinsure>sample string 4</nameinsure> <orderinginsure>sample string 5</orderinginsure> <quotainsure>1.1</quotainsure> <rateopposite>1.1</rateopposite> <rateright>1.1</rateright> <todate>sample string 8</todate> <typequota>1</typequota> </DrugInsureAdd> <DrugInsureAdd> <codeinsure>sample string 6</codeinsure> <fromdate>sample string 7</fromdate> <id>sample string 1</id> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <isin>true</isin> <isout>true</isout> <nameinsure>sample string 4</nameinsure> <orderinginsure>sample string 5</orderinginsure> <quotainsure>1.1</quotainsure> <rateopposite>1.1</rateopposite> <rateright>1.1</rateright> <todate>sample string 8</todate> <typequota>1</typequota> </DrugInsureAdd> </listinsure> <lstbonus> <BonusTotalAdd> <codecreate>sample string 9</codecreate> <codeedit>sample string 13</codeedit> <datecreate>sample string 7</datecreate> <dateedit>sample string 11</dateedit> <fromdate>1</fromdate> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 8</idcreate> <idedit>sample string 12</idedit> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idproduct>sample string 5</idproduct> <isdefault>true</isdefault> <namecreate>sample string 10</namecreate> <nameedit>sample string 14</nameedit> <namemodelservice>sample string 6</namemodelservice> <notuse>true</notuse> <rateabout>1.1</rateabout> <rateadoctor>1.1</rateadoctor> <ratenurse>1.1</ratenurse> <ratereception>1.1</ratereception> <ratesale>1.1</ratesale> <ratetechnical>1.1</ratetechnical> <ratevote>1.1</ratevote> <todate>1</todate> </BonusTotalAdd> <BonusTotalAdd> <codecreate>sample string 9</codecreate> <codeedit>sample string 13</codeedit> <datecreate>sample string 7</datecreate> <dateedit>sample string 11</dateedit> <fromdate>1</fromdate> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 8</idcreate> <idedit>sample string 12</idedit> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idproduct>sample string 5</idproduct> <isdefault>true</isdefault> <namecreate>sample string 10</namecreate> <nameedit>sample string 14</nameedit> <namemodelservice>sample string 6</namemodelservice> <notuse>true</notuse> <rateabout>1.1</rateabout> <rateadoctor>1.1</rateadoctor> <ratenurse>1.1</ratenurse> <ratereception>1.1</ratereception> <ratesale>1.1</ratesale> <ratetechnical>1.1</ratetechnical> <ratevote>1.1</ratevote> <todate>1</todate> </BonusTotalAdd> </lstbonus> <lstbrand> <ListBrand> <id>sample string 1</id> <idbrand>sample string 4</idbrand> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <namabrand>sample string 5</namabrand> </ListBrand> <ListBrand> <id>sample string 1</id> <idbrand>sample string 4</idbrand> <idpartner>sample string 2</idpartner> <idproduct>sample string 3</idproduct> <namabrand>sample string 5</namabrand> </ListBrand> </lstbrand> <lstprice> <PriceTotalAdd> <codecreate>sample string 11</codecreate> <codeedit>sample string 15</codeedit> <datecreate>sample string 9</datecreate> <dateedit>sample string 13</dateedit> <fromdate>sample string 7</fromdate> <fulltime>1</fulltime> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 10</idcreate> <idedit>sample string 14</idedit> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idproduct>sample string 6</idproduct> <isdefault>true</isdefault> <namecreate>sample string 12</namecreate> <nameedit>sample string 16</nameedit> <namemodelservice>sample string 5</namemodelservice> <nameunit>sample string 17</nameunit> <nameunitbuy>sample string 18</nameunitbuy> <notuse>true</notuse> <price>1.1</price> <pricecheck>1.1</pricecheck> <pricefee>1.1</pricefee> <priceinsure>1.1</priceinsure> <pricesend>1.1</pricesend> <surchargecheck>1.1</surchargecheck> <surchargefee>1.1</surchargefee> <surchargeinsure>1.1</surchargeinsure> <surchargeprice>1.1</surchargeprice> <surchargesend>1.1</surchargesend> <tax>1.1</tax> <todate>sample string 8</todate> <totime>1</totime> <wholesale>1.1</wholesale> </PriceTotalAdd> <PriceTotalAdd> <codecreate>sample string 11</codecreate> <codeedit>sample string 15</codeedit> <datecreate>sample string 9</datecreate> <dateedit>sample string 13</dateedit> <fromdate>sample string 7</fromdate> <fulltime>1</fulltime> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcreate>sample string 10</idcreate> <idedit>sample string 14</idedit> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idproduct>sample string 6</idproduct> <isdefault>true</isdefault> <namecreate>sample string 12</namecreate> <nameedit>sample string 16</nameedit> <namemodelservice>sample string 5</namemodelservice> <nameunit>sample string 17</nameunit> <nameunitbuy>sample string 18</nameunitbuy> <notuse>true</notuse> <price>1.1</price> <pricecheck>1.1</pricecheck> <pricefee>1.1</pricefee> <priceinsure>1.1</priceinsure> <pricesend>1.1</pricesend> <surchargecheck>1.1</surchargecheck> <surchargefee>1.1</surchargefee> <surchargeinsure>1.1</surchargeinsure> <surchargeprice>1.1</surchargeprice> <surchargesend>1.1</surchargesend> <tax>1.1</tax> <todate>sample string 8</todate> <totime>1</totime> <wholesale>1.1</wholesale> </PriceTotalAdd> </lstprice> <name>sample string 11</name> <namecate>sample string 7</namecate> <namecreate>sample string 23</namecreate> <nameedit>sample string 27</nameedit> <nameinsurance>sample string 9</nameinsurance> <namemodelservice>sample string 16</namemodelservice> <namesubject>sample string 19</namesubject> <nameunit>sample string 13</nameunit> <nameunitbuy>sample string 15</nameunitbuy> <notuse>true</notuse> <ordering>1</ordering> <phamvi>1</phamvi> <priceimport>1.1</priceimport> <qty>1.1</qty> <qtyavailable>1.1</qtyavailable> <qtychange>1.1</qtychange> <qtycheck>1.1</qtycheck> <qtydefault>1.1</qtydefault> <qtyhight>1.1</qtyhight> <qtylow>1.1</qtylow> <rate>1.1</rate> <tax>1.1</tax> <taximport>1.1</taximport> </StuffModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataUpdateName | 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
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:
<DataUpdate 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> </DataUpdate>