POST api/nganhhang/CapNhatNganhHang
Cập nhật ngành hàng bên bán hàng trc rồi mới cập nhật bên Hrm
Request Information
URI Parameters
None.
Body Parameters
NganhHangModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IdNH | string |
None. |
|
| TenNH | string |
None. |
|
| IDKHDPS | integer |
None. |
|
| IdCho | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdNH": "sample string 1",
"TenNH": "sample string 2",
"IDKHDPS": 3,
"IdCho": "sample string 4"
}
application/xml, text/xml
Sample:
<NganhHangModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models"> <IDKHDPS>3</IDKHDPS> <IdCho>sample string 4</IdCho> <IdNH>sample string 1</IdNH> <TenNH>sample string 2</TenNH> </NganhHangModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | Object |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {},
"error": {
"message": "sample string 1",
"code": "sample string 2"
}
}
application/xml, text/xml
Sample:
<BaseModelOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<data />
<error>
<code>sample string 2</code>
<message>sample string 1</message>
</error>
<page />
<status>1</status>
</BaseModelOfanyType>