Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organisations Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Field name | Type | Possible values |
---|---|---|
builtin | true, false | |
description | text | |
name | string | |
permission | string |
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organisations Validations:
|
id required |
Validations:
|
description optional |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organisations Validations:
|
role required |
Validations:
|
role[name] required |
Validations:
|
role[description] optional , nil allowed |
Role description Validations:
|
role[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
role[organization_ids] optional , nil allowed |
REPLACE organisations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organisations Validations:
|
id required |
Validations:
|
role required |
Validations:
|
role[name] optional |
Validations:
|
role[description] optional , nil allowed |
Role description Validations:
|
role[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
role[organization_ids] optional , nil allowed |
REPLACE organisations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organisations Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Scope by locations Validations:
|
organization_id optional |
Scope by organisations Validations:
|
id required |
Validations:
|
role required |
Validations:
|
role[name] optional |
Validations:
|
role[description] optional , nil allowed |
Role description Validations:
|
role[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
role[organization_ids] optional , nil allowed |
REPLACE organisations with given ids. Validations:
|