PUT api/user/privilege/fieldPermission/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
FieldPermissionName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
PrivilegeGroupId | globally unique identifier |
None. |
|
FieldName | string |
None. |
|
Permission | FieldPermissionEnum |
None. |
|
Section | string |
None. |
|
RestrictionUISetting | Object |
None. |
|
Restriction | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "31222233-1cf7-4764-b559-f19c3cca2de0", "privilegeGroupId": "e27df113-d07e-4719-ab76-7aade6350376", "fieldName": "sample string 1", "permission": 2, "section": "sample string 3", "restrictionUISetting": { "$id": "2" }, "restriction": "sample string 5" }
application/xml, text/xml
Sample:
<FieldPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products"> <FieldName>sample string 1</FieldName> <ID>31222233-1cf7-4764-b559-f19c3cca2de0</ID> <Permission>2</Permission> <PrivilegeGroupId>e27df113-d07e-4719-ab76-7aade6350376</PrivilegeGroupId> <Restriction>sample string 5</Restriction> <RestrictionUISetting /> <Section>sample string 3</Section> </FieldPermission>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.