GET api/Chemistry/One?api={api}&idpartner={idpartner}&id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
idpartner | string |
Default value is |
|
id | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
oneChemistryName | Description | Type | Additional information |
---|---|---|---|
data | ChemistryModelView |
None. |
|
status |
Trạng thái |
string |
None. |
message |
Thông báo |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "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", "idunituse": "sample string 14", "nameunituse": "sample string 15", "idunitbuy": "sample string 16", "nameunitbuy": "sample string 17", "qtychange": 1.1, "idcapacity": "sample string 18", "namecapacity": "sample string 19", "qtycapacity": 1.1, "idmodelservice": 1, "namemodelservice": "sample string 20", "idehc": 1, "codeehc": "sample string 21", "qty": 1.1, "qtyavailable": 1.1, "qtyhight": 1.1, "qtylow": 1.1, "idsubject": "sample string 22", "namesubject": "sample string 23", "ordering": 1, "isdiscount": true, "ischange": true, "isdestroy": true, "isbold": true, "isinvoice": true, "notuse": true, "datecreate": "sample string 24", "idcreate": "sample string 25", "codecreate": "sample string 26", "namecreate": "sample string 27", "dateedit": "sample string 28", "idedit": "sample string 29", "codeedit": "sample string 30", "nameedit": "sample string 31", "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" } ], "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, "rate": 1.1, "phamvi": 1 }, "status": "sample string 1", "message": "sample string 2" }
text/javascript, application/javascript, application/json-p
Sample:
/**/ typeof === 'function' && ({"data":{"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","idunituse":"sample string 14","nameunituse":"sample string 15","idunitbuy":"sample string 16","nameunitbuy":"sample string 17","qtychange":1.1,"idcapacity":"sample string 18","namecapacity":"sample string 19","qtycapacity":1.1,"idmodelservice":1,"namemodelservice":"sample string 20","idehc":1,"codeehc":"sample string 21","qty":1.1,"qtyavailable":1.1,"qtyhight":1.1,"qtylow":1.1,"idsubject":"sample string 22","namesubject":"sample string 23","ordering":1,"isdiscount":true,"ischange":true,"isdestroy":true,"isbold":true,"isinvoice":true,"notuse":true,"datecreate":"sample string 24","idcreate":"sample string 25","codecreate":"sample string 26","namecreate":"sample string 27","dateedit":"sample string 28","idedit":"sample string 29","codeedit":"sample string 30","nameedit":"sample string 31","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"}],"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,"rate":1.1,"phamvi":1},"status":"sample string 1","message":"sample string 2"});
application/xml, text/xml
Sample:
<oneChemistry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <message xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 2</message> <status xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models">sample string 1</status> <data> <code>sample string 10</code> <codecate>sample string 6</codecate> <codecreate>sample string 26</codecreate> <codeedit>sample string 30</codeedit> <codeehc>sample string 21</codeehc> <codeinsurance>sample string 8</codeinsurance> <cost>1.1</cost> <datecreate>sample string 24</datecreate> <dateedit>sample string 28</dateedit> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcapacity>sample string 18</idcapacity> <idcate>sample string 5</idcate> <idcreate>sample string 25</idcreate> <idedit>sample string 29</idedit> <idehc>1</idehc> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idsubject>sample string 22</idsubject> <idunit>sample string 12</idunit> <idunitbuy>sample string 16</idunitbuy> <idunituse>sample string 14</idunituse> <isbold>true</isbold> <ischange>true</ischange> <isdestroy>true</isdestroy> <isdiscount>true</isdiscount> <isinvoice>true</isinvoice> <lstbonus> <BonusTotal> <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> </BonusTotal> <BonusTotal> <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> </BonusTotal> </lstbonus> <lstbrand> <ListBrandView> <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> </ListBrandView> <ListBrandView> <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> </ListBrandView> </lstbrand> <lstprice> <PriceTotal> <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> </PriceTotal> <PriceTotal> <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> </PriceTotal> </lstprice> <name>sample string 11</name> <namecapacity>sample string 19</namecapacity> <namecate>sample string 7</namecate> <namecreate>sample string 27</namecreate> <nameedit>sample string 31</nameedit> <nameinsurance>sample string 9</nameinsurance> <namemodelservice>sample string 20</namemodelservice> <namesubject>sample string 23</namesubject> <nameunit>sample string 13</nameunit> <nameunitbuy>sample string 17</nameunitbuy> <nameunituse>sample string 15</nameunituse> <notuse>true</notuse> <ordering>1</ordering> <phamvi>1</phamvi> <qty>1.1</qty> <qtyavailable>1.1</qtyavailable> <qtycapacity>1.1</qtycapacity> <qtychange>1.1</qtychange> <qtyhight>1.1</qtyhight> <qtylow>1.1</qtylow> <rate>1.1</rate> </data> </oneChemistry>