Version: 12
restore

Contents

Entity - Role Based Access Control - Interrogates the SecurableType table in the database

VerbURLNotesPermissions Required
GET - by securable type idhttp://<myserver>/Consumer/ApplicableOperations /SecurableTypeId/{securableTypeId}Gets list of all available applicable operations for the securable type by its id
  • Read

Returns Unauthorized (401) if user does not have the required permissions.

GET - by securable type namehttp://<myserver>/Consumer/ApplicableOperations /SecurableTypeName/{securableTypeName}Gets list of all available applicable operations for the securable type by its name
  • Read

Returns Unauthorized (401) if user does not have the required 

POSThttp://<myserver>/Consumer/ApplicableOperations

Creates an applicable operation. Request payload:

Request Payload - securable type id
{
    "OperationName":"Operation",
    "SecurableTypeId":8
}

Or

Request Payload - securable type name
{
    "OperationName":"Operation",
    "SecurableName":"SecurableType"
}

Either securable type id or name can be used. Using both causes ambiguity in the Consumer API which will not try to set any priority over which one to use and returns a Bad Request (400) HTTP status.

  • Write

Returns Unauthorized (401) if user does not have the required 

DELETEhttp://<myserver>/Consumer/ApplicableOperations /{id}Deletes applicable operation by id
  • Write

Returns Unauthorized (401) if user does not have the required