Create a group of activity sessions
POST/api/v1/ActivitySession/Group
Creates one or more activity sessions together as a group and queues them to start. All sessions are created for the signed-in user. This is the route the console uses when a user requests a session. Sessions are created one at a time, so if a later request in the array fails, the sessions created before it remain.
Permission required: Any signed-in user with a managed account.
Values for customFields[].customFieldDataType: 0 = Integer, 1 = String, 2 = Options.
Request
Responses
- 201
- 400
- 401
- 403
- 404
The group and its sessions were created and queued. The body is the group, with its sessions in activitySessions.
The array is empty, the account or resources are locked, a resource, credential or activity could not be found, no access policy grants the user an activity, or a note or ticket the policy requires is missing. The body is the message.
The request is not signed in, or the sign-in has expired.
The signed-in account is not linked to a managed account.
The account for the sessions was not found.