Get a session

get/servers/{serverName}/sessions/{sessionId}
Internal-Use Only

Retrieves a single session for a CAS server.

Request Samples

1

Response Samples

1{
2 "id": "C691A4B0-b8f6-3e44-b35b-4411de0307da",
3 "links": [
4 {
5 "href": "/casManagement/servers/casServer/sessions",
6 "itemType": "application/vnd.sas.cas.session.summary",
7 "method": "GET",
8 "rel": "up",
9 "type": "application/vnd.sas.collection",
10 "uri": "/casManagement/servers/casServer/sessions"
11 },
12 {
13 "href": "/casManagement/servers/casServer/sessions/c691a4b0-b8f6-3e44-b35b-4411de0307da",
14 "method": "GET",
15 "rel": "self",
16 "type": "application/vnd.sas.cas.session.summary",
17 "uri": "/casManagement/servers/casServer/sessions/c691a4b0-b8f6-3e44-b35b-4411de0307da"
18 },
19 {
20 "href": "/casManagement/servers/casServer/sessions/c691a4b0-b8f6-3e44-b35b-4411de0307da",
21 "method": "DELETE",
22 "rel": "delete",
23 "uri": "/cas"
24 },
25 {
26 "href": "/casManagement/servers/casServer/sessions/c691a4b0-b8f6-3e44-b35b-4411de0307da",
27 "method": "POST",
28 "rel": "startPermissionsTransaction",
29 "type": "text/plain",
30 "uri": "/casManagement/servers/cas/sessions/fdb94838-56a2-254e-a5e6-93c46f31c944?action=start"
31 }
32 ],
33 "name": "Session:Mon Mar 28 21:57:43 2016",
34 "owner": "user",
35 "state": "Connected",
36 "transactionState": "none",
37 "authenticationType": "Active Directory",
38 "version": 2
39}

Path Parameters

NameTypeRequiredDescription
serverName
string
true

Server name containing the session being requested.

sessionId
string
true

Session ID being requested.

Query Parameters

NameTypeRequiredDescription
superUserSessionId
string
false

Session ID being used to view specified sessionId with. Has to be a superuser.

Responses

StatusMeaningDescription
200OKInformation about the requested session was returned.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundThe requested session in the requested server name does not exist.
409ConflictThe request could not be completed due to a conflict with the current state of the resource. Details are included in the response body.