GET api/Stuff/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
oneStuffName | Description | Type | Additional information |
---|---|---|---|
data | StuffModelView |
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", "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", "notuse": true }, { "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", "notuse": true } ], "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","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","notuse":true},{"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","notuse":true}],"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:
<oneStuff 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 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> <DrugInsure> <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> <notuse>true</notuse> <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> </DrugInsure> <DrugInsure> <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> <notuse>true</notuse> <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> </DrugInsure> </listinsure> <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> <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> <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> </data> </oneStuff>