GET /gui_app_framework/application_definitions/{application_definition_id}/user_role_id

Retrieve all user roles associated with an application definition.

Table 1. GET /gui_app_framework/application_definitions/{application_definition_id}/user_role_id resource details
MIME Type

application/json

Table 2. GET /gui_app_framework/application_definitions/{application_definition_id}/user_role_id request parameter details
Parameter Type Optionality Data Type MIME Type Description

application_definition_id

path

Required

Number (Integer)

text/plain

- The application definition identifier.

fields

query

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. GET /gui_app_framework/application_definitions/{application_definition_id}/user_role_id response codes
HTTP Response Code Unique Code Description

404

33900

The application definition ID does not exist.

409

33000

The current state of the application does not allow the requested action.

409

33700

The application framework is currently disabled.

500

1020

The request could not be completed.

Response Description

A list of user role IDs associated with the specified application definition id.

Response Sample


{
    "user_roles": [
        42
    ]
}