POST api/DanhMucThau/Update?api={api}&id={id}
Sửa bản ghi danh mục thầu
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| api |
Mã API do hệ thống cung cấp |
string |
Required |
| id |
id bản ghi cần sửa |
string |
Default value is |
Body Parameters
mức hưởng danh mục thầu
DanhMucThauModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
id |
string |
None. |
| idkey |
id key |
string |
None. |
| idcoso |
id cơ sở y tế |
string |
None. |
| idchinhanh |
id chi nhánh |
string |
None. |
| ma |
mã gói thầu |
string |
None. |
| soquyetdinh |
Số quyết định gói thầu |
string |
None. |
| ten |
Tên gói thầu |
string |
None. |
| namthau |
năm thầu |
integer |
None. |
| hanthau |
Hạn thầu yyyyMMdd |
integer |
None. |
| soluong |
Số lượng |
decimal number |
None. |
| notuse |
Không sử dụng |
boolean |
None. |
| ngaytao |
Ngày tạo yyyyMMddHHmmss |
integer |
None. |
| idnguoitao |
ID người tạo |
string |
None. |
| manguoitao |
Mã người tạo |
string |
None. |
| tennguoitao |
Tên người tạo |
string |
None. |
| ngaysua |
Ngày sửa yyyyMMddHHmmss |
integer |
None. |
| idnguoisua |
ID người sửa |
string |
None. |
| manguoisua |
Mã người sửa |
string |
None. |
| tennguoisua |
Tên người sửa |
string |
None. |
| idnhom |
id nhóm |
string |
None. |
| manhom |
mã nhóm |
string |
None. |
| tennhom |
Tên nhóm |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"idkey": "sample string 2",
"idcoso": "sample string 3",
"idchinhanh": "sample string 4",
"ma": "sample string 5",
"soquyetdinh": "sample string 6",
"ten": "sample string 7",
"namthau": 8,
"hanthau": 9,
"soluong": 10.1,
"notuse": true,
"ngaytao": 12,
"idnguoitao": "sample string 13",
"manguoitao": "sample string 14",
"tennguoitao": "sample string 15",
"ngaysua": 16,
"idnguoisua": "sample string 17",
"manguoisua": "sample string 18",
"tennguoisua": "sample string 19",
"idnhom": "sample string 20",
"manhom": "sample string 21",
"tennhom": "sample string 22"
}
application/xml, text/xml
Sample:
<DanhMucThauModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HISAPI.Models.kho"> <hanthau>9</hanthau> <id>sample string 1</id> <idchinhanh>sample string 4</idchinhanh> <idcoso>sample string 3</idcoso> <idkey>sample string 2</idkey> <idnguoisua>sample string 17</idnguoisua> <idnguoitao>sample string 13</idnguoitao> <idnhom>sample string 20</idnhom> <ma>sample string 5</ma> <manguoisua>sample string 18</manguoisua> <manguoitao>sample string 14</manguoitao> <manhom>sample string 21</manhom> <namthau>8</namthau> <ngaysua>16</ngaysua> <ngaytao>12</ngaytao> <notuse>true</notuse> <soluong>10.1</soluong> <soquyetdinh>sample string 6</soquyetdinh> <ten>sample string 7</ten> <tennguoisua>sample string 19</tennguoisua> <tennguoitao>sample string 15</tennguoitao> <tennhom>sample string 22</tennhom> </DanhMucThauModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataUpdate| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| message | string |
None. |
|
| id | string |
None. |
|
| code | string |
None. |
|
| code1 | string |
None. |
|
| link | 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",
"link": "sample string 6",
"strprint": "sample string 7"
}
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","link":"sample string 6","strprint":"sample string 7"});
application/xml, text/xml
Sample:
<DataUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HISAPI.Models"> <code>sample string 4</code> <code1>sample string 5</code1> <id>sample string 3</id> <link>sample string 6</link> <message>sample string 2</message> <status>sample string 1</status> <strprint>sample string 7</strprint> </DataUpdate>