POST api/banhang/CapNhatQuyenKhoHang
cập nhật phân quyền kho cho người dùng
Request Information
URI Parameters
None.
Body Parameters
PhanQuyenChiNhanh| Name | Description | Type | Additional information |
|---|---|---|---|
| IdUser | integer |
None. |
|
| ChiTiet | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdUser": 1,
"ChiTiet": [
1,
2
]
}
application/xml, text/xml
Sample:
<PhanQuyenChiNhanh xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<ChiTiet xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ChiTiet>
<IdUser>1</IdUser>
</PhanQuyenChiNhanh>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />