getWorkflowGroups

Click to copy

Get all organization groups associated with Workflow Manager roles.

Get 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

NameTypeRequired

token

string

Path parameters

NameTypeRequired

orgId

string

itemId

string

Examples

Request

Use dark colors for code blocksCopy
1
2
3
4
# You can also use wget
curl -X GET /{orgId}/{itemId}/community/groups \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Response

200 Response

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
  "groups": [
    {
      "id": "string",
      "name": "string",
      "isAssignable": true
    }
  ]
}
StatusMeaningDescriptionSchema

200

OK

success

Inline

404

Not Found

invalid role

WorkflowExceptionDTO

Response details

Status Code 200

Groups

NameTypeRequired

groups

id

string

name

string

isAssignable

boolean

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.