PUT api/FeatureRolePermission?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

FeatureRolePermissionDTO
NameDescriptionTypeAdditional information
ID

integer

None.

UID

globally unique identifier

None.

FeatureID

integer

None.

FeatureModuleID

integer

None.

FeatureCode

string

None.

UserRoleID

integer

None.

CanView

boolean

None.

CanCreate

boolean

None.

CanModify

boolean

None.

CanDelete

boolean

None.

CanReport

boolean

None.

CanSuspend

boolean

None.

CanAuthorise

boolean

None.

CanExtend

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UID": "81cf8cd0-68b5-4047-89c9-7d314044487a",
  "FeatureID": 3,
  "FeatureModuleID": 4,
  "FeatureCode": "sample string 5",
  "UserRoleID": 6,
  "CanView": true,
  "CanCreate": true,
  "CanModify": true,
  "CanDelete": true,
  "CanReport": true,
  "CanSuspend": true,
  "CanAuthorise": true,
  "CanExtend": true
}

application/xml, text/xml

Sample:
<FeatureRolePermissionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <CanAuthorise>true</CanAuthorise>
  <CanCreate>true</CanCreate>
  <CanDelete>true</CanDelete>
  <CanExtend>true</CanExtend>
  <CanModify>true</CanModify>
  <CanReport>true</CanReport>
  <CanSuspend>true</CanSuspend>
  <CanView>true</CanView>
  <FeatureCode>sample string 5</FeatureCode>
  <FeatureID>3</FeatureID>
  <FeatureModuleID>4</FeatureModuleID>
  <ID>1</ID>
  <UID>81cf8cd0-68b5-4047-89c9-7d314044487a</UID>
  <UserRoleID>6</UserRoleID>
</FeatureRolePermissionDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>