Get a session
get/servers/{serverName}/sessions/{sessionId}
Retrieves a single session for a CAS server.
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": 239}
Name | Type | Required | Description |
---|---|---|---|
serverName | string | true | Server name containing the session being requested. |
sessionId | string | true | Session ID being requested. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | Information about the requested session was returned. | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The requested session in the requested server name does not exist. | ||
409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. Details are included in the response body. |