Get an activity session
GET/api/v1/ActivitySession/:sessionId
Returns the full details of one activity session, including its status, times, resource, activity and connection profile settings. For users other than administrators, allowSessionExtension is false once no extensions remain.
Permission required: Administrators and application accounts, or the user who owns the session.
Values for status: -1 = ApprovalRequired, 0 = Pending, 1 = Active, 2 = Cancelling, 3 = Complete, 4 = Failed, 5 = Cancelled, 6 = ApprovalDenied, 7 = ApprovalFailed.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The activity session.
The request failed. The body is the error message.
The request is not signed in, or the sign-in has expired.
The caller is not an administrator, an application account, or the session owner.
No activity session exists with this identifier.