API Guide

Table Of Contents
Table 132. Attributes (continued)
Attribute Name Description
Sessions The link to the collection of active sessions.
/api/SessionService/Sessions
This URI represents a collection of active session services.
GET method for Sessions
This method returns the collection of active session service.
Description Returns a collection of active session services.
Privilege VIEW
HTTP response
codes
200
Example
response body
{
"@odata.context": "$metadata#Collection(SessionService.Session)",
"@odata.count": 1,
"value": [
{
"@odata.id": "/api/SessionService/Sessions('7b723932-a119-4843-
a5b7-7a122e4def99')",
"Id": "7b723932-a119-4843-a5b7-7a122e4def99",
"Description": "root",
"Name": "API",
"UserName": "root",
"Password": null,
"Roles": [
"ADMINISTRATOR"
],
"IpAddress": "xx.xx.xx.xx",
"StartTimeStamp": "2017-04-17 20:07:12.357",
"LastAccessedTimeStamp": "2017-04-17 20:07:45.482"
}
]
}
Table 133. Attributes
Attribute Name Description
Id The unique identifier of the SessionService.
UserName The session user name.
Password The session user password.
Roles Role privileges.
IpAddress IP address of session source.
StartTimeStamp Time when the session began.
LastAccessedTimeStamp Time when the session was last accessed.
Description Description for the user session.
392 Session