List job role subject assignments
List job role subject assignments visible to the caller’s organisation.
Use filters such as eq(subject_type,schemes),eq(subject_id,<uuid>) to
scope to a specific scheme, work order, or operation.
Authorizations
Session token for authentication.
Query Parameters
A comma separated list of related resources to include.
job_role, user, scheme, work_order, operation Filters the response data based on the value provided.
Available filters:
eq(id,xxx): Filter assignments by ID.eq(organisation,xxx): Filter assignments by organisation ID.eq(job_role,xxx): Filter assignments by job role ID.eq(user,xxx): Filter assignments by user ID.eq(subject_type,xxx): Filter assignments by subject kind. One ofschemes,work-orders,operations.eq(subject_id,xxx): Filter assignments by subject ID. Most useful in combination witheq(subject_type,...).
For more information on using named filters, see the docs
A comma separated list of fields to sort by.
created_at, -created_at Limit the number of resources returned by the API
x >= 1Offset the resources returned by the API
x >= 0Response
Get a list of job role subject assignments.
JSON API response object
A job role subject assignment links a single user to a single job role on
a single governance subject (scheme, work order, or operation). The
subject is polymorphic: exactly one of scheme, work_order, or
operation is populated, matching the subject_type attribute.
- Option 1
- Option 2
- Option 3
Related resources that can be included when a job role subject assignment is returned.
An internal job role
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5