POST api/Permission/GetUserWisePermission

Request Information

URI Parameters

None.

Body Parameters

Permission
NameDescriptionTypeAdditional information
PermissionId

integer

None.

MenuId

integer

None.

RoleId

integer

None.

EmployeeId

integer

None.

PAdd

boolean

None.

PEdit

boolean

None.

PView

boolean

None.

PDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PermissionId": 1,
  "MenuId": 1,
  "RoleId": 1,
  "EmployeeId": 1,
  "PAdd": true,
  "PEdit": true,
  "PView": true,
  "PDelete": true
}

application/xml, text/xml

Sample:
<Permission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarDichachi">
  <EmployeeId>1</EmployeeId>
  <MenuId>1</MenuId>
  <PAdd>true</PAdd>
  <PDelete>true</PDelete>
  <PEdit>true</PEdit>
  <PView>true</PView>
  <PermissionId>1</PermissionId>
  <RoleId>1</RoleId>
</Permission>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Object [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>sample string 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>sample string 3</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>