Get Materialized Model Roles

Returns all roles IDs and its settings for a materialized model.

Method

/API2/dataSources/getRolesByModel
  • API Section: /API2/dataSources
  • API Version: 2.0
  • From Release: 2018.5
  • Usage: REST API only via POST actions.
  • Usage by:
    • Enterprise Admin

Method Signature

Input Parameters

Name

modelId

Type

string

Description

The materialized model’s system ID

Output Response

Successful Result Code

200

Response List Type

ItemRolePair[]

Description of Response Type

Object with role and role access types.. Note that the response is returned as a list of items of this object type.

Notes

The materialized model is the active, deployed model. It is not the model definition file found in the content manager.