POST api/nhomnguoidung/CapNhatQuyen
Request Information
URI Parameters
None.
Body Parameters
PhanQuyenNhom| Name | Description | Type | Additional information |
|---|---|---|---|
| IdGroup | integer |
None. |
|
| PhanMem | integer |
None. |
|
| ChiTiet | Collection of Quyen |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdGroup": 1,
"PhanMem": 2,
"ChiTiet": [
{
"IdRole": 1,
"Permitted": true
},
{
"IdRole": 1,
"Permitted": true
}
]
}
application/xml, text/xml
Sample:
<PhanQuyenNhom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
<ChiTiet>
<Quyen>
<IdRole>1</IdRole>
<Permitted>true</Permitted>
</Quyen>
<Quyen>
<IdRole>1</IdRole>
<Permitted>true</Permitted>
</Quyen>
</ChiTiet>
<IdGroup>1</IdGroup>
<PhanMem>2</PhanMem>
</PhanQuyenNhom>
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/" />