POST api/DichVuKhac/Update?api={api}&id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
api | string |
Required |
|
id | string |
Default value is |
Body Parameters
DichVuKhacModelName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
idkey |
id key |
string |
None. |
idpartner |
id đối tác |
string |
None. |
idbrandpartner |
id chi nhánh |
string |
None. |
idcate |
id nhóm |
string |
None. |
codecate |
Mã nhóm |
string |
None. |
namecate |
Tên nhóm |
string |
None. |
code |
mã |
string |
None. |
name |
Tên |
string |
None. |
note |
Mô tả |
string |
None. |
idunit |
id đơn vị |
string |
None. |
nameunit |
Tên đơn vị |
string |
None. |
idmodelservice |
id model dịch vụ |
integer |
None. |
namemodelservice |
Tên model dịch vụ |
string |
None. |
idehc |
id tích hợp |
integer |
None. |
codeehc |
Mã tích hợp |
string |
None. |
notuse |
Không sử dụng true/false |
boolean |
None. |
datecreate |
Ngày tạo yyyyMMddHHmm |
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. |
dateedit |
Ngày sửa yyyyMMddHHmm |
string |
None. |
idedit |
id người sửa |
string |
None. |
codeedit |
Mã người sửa |
string |
None. |
nameedit |
Tên người sửa |
string |
None. |
lstprice |
Bảng giá |
Collection of PriceTotalAdd |
None. |
lstbonus |
Hoa hồng |
Collection of BonusTotalAdd |
None. |
lstbrand |
Chi nhánh |
Collection of ListBrand |
None. |
ordering |
STT |
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", "code": "sample string 8", "name": "sample string 9", "note": "sample string 10", "idunit": "sample string 11", "nameunit": "sample string 12", "idmodelservice": 1, "namemodelservice": "sample string 13", "idehc": 1, "codeehc": "sample string 14", "notuse": true, "datecreate": "sample string 15", "idcreate": "sample string 16", "codecreate": "sample string 17", "namecreate": "sample string 18", "dateedit": "sample string 19", "idedit": "sample string 20", "codeedit": "sample string 21", "nameedit": "sample string 22", "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" } ], "ordering": 1 }
application/xml, text/xml
Sample:
<DichVuKhacModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APISMART.Models.Category"> <code>sample string 8</code> <codecate>sample string 6</codecate> <codecreate>sample string 17</codecreate> <codeedit>sample string 21</codeedit> <codeehc>sample string 14</codeehc> <datecreate>sample string 15</datecreate> <dateedit>sample string 19</dateedit> <id>sample string 1</id> <idbrandpartner>sample string 4</idbrandpartner> <idcate>sample string 5</idcate> <idcreate>sample string 16</idcreate> <idedit>sample string 20</idedit> <idehc>1</idehc> <idkey>sample string 2</idkey> <idmodelservice>1</idmodelservice> <idpartner>sample string 3</idpartner> <idunit>sample string 11</idunit> <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 9</name> <namecate>sample string 7</namecate> <namecreate>sample string 18</namecreate> <nameedit>sample string 22</nameedit> <namemodelservice>sample string 13</namemodelservice> <nameunit>sample string 12</nameunit> <note>sample string 10</note> <notuse>true</notuse> <ordering>1</ordering> </DichVuKhacModel>
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>