GET
/{orgId}/{itemId}/community/groupsGet all organization groups associated with Workflow Manager roles and indicates whether the current user can assign work based on their Workflow Manager assignment privileges.
- If the user has the jobAssignAny privilege, all groups associated with Workflow Manager roles will be assignable.
- If the user has jobAssignGroup or jobAssignIndividual privileges, all the groups that the user is a member of and are associated with Workflow Manager roles will be assignable.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | success | inline |
| 404 | Not Found | invalid role | WorkflowExceptionDTO |
Response details
Status Code 200
Groups
| Name | Type | Required | Description |
|---|---|---|---|
groups | [Group] |
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/community/groups \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"groups": [
{
"id": "string",
"name": "string",
"isAssignable": true,
"thumbnail": "string"
}
]
}