POST api/user/privilege/fieldPermissions

Save a list of field permissions

Request Information

URI Parameters

None.

Body Parameters

Update a list of permissions

Collection of FieldPermission
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

PrivilegeGroupId

globally unique identifier

None.

FieldName

string

None.

Permission

FieldPermissionEnum

None.

Section

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": "b71ac180-761d-47e4-9ff0-6af7ec50c249",
    "privilegeGroupId": "22d6f098-79d4-4c44-ab54-1c28b97d8e38",
    "fieldName": "sample string 1",
    "permission": 2,
    "section": "sample string 3"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfFieldPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Products">
  <FieldPermission>
    <FieldName>sample string 1</FieldName>
    <ID>b71ac180-761d-47e4-9ff0-6af7ec50c249</ID>
    <Permission>2</Permission>
    <PrivilegeGroupId>22d6f098-79d4-4c44-ab54-1c28b97d8e38</PrivilegeGroupId>
    <Section>sample string 3</Section>
  </FieldPermission>
  <FieldPermission>
    <FieldName>sample string 1</FieldName>
    <ID>b71ac180-761d-47e4-9ff0-6af7ec50c249</ID>
    <Permission>2</Permission>
    <PrivilegeGroupId>22d6f098-79d4-4c44-ab54-1c28b97d8e38</PrivilegeGroupId>
    <Section>sample string 3</Section>
  </FieldPermission>
</ArrayOfFieldPermission>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.