Create a New Dynamic Process Role
post
/ic/api/process/v1/dp-roles
Create a new dynamic process role.
Request
Supported Media Types
- application/json
Dynamic process role to create.
Root Schema : ProcessRole
Type:
object
Match All
Show Source
-
object
CommonModel
Discriminator:
links
-
object
ProcessRole-allOf[1]
Nested Schema : ProcessRole-allOf[1]
Type:
Show Source
object
-
displayName:
string
The display name of the process role
-
id:
string
The ID of the process role.
-
overriddenRoleId:
string
The ID of the definition or global scope role overriden by this role
-
scopes:
array scopes
-
scopeType:
string
Allowed Values:
[ "GLOBAL", "DEFINITION", "INSTANCE" ]
Response
Supported Media Types
- application/json
201 Response
Successful operation.
Root Schema : ProcessRole
Type:
object
Match All
Show Source
-
object
CommonModel
Discriminator:
links
-
object
ProcessRole-allOf[1]
Nested Schema : ProcessRole-allOf[1]
Type:
Show Source
object
-
displayName:
string
The display name of the process role
-
id:
string
The ID of the process role.
-
overriddenRoleId:
string
The ID of the definition or global scope role overriden by this role
-
scopes:
array scopes
-
scopeType:
string
Allowed Values:
[ "GLOBAL", "DEFINITION", "INSTANCE" ]
400 Response
The request is not valid. Duplicate role ID or the specified overriddenRoleId is not valid.
401 Response
Unauthorized.
403 Response
The user does not have permissions to create the dynamic process role.
500 Response
Internal Server Error.