Reference Guide

Table Of Contents
/api/SessionService/Sessions(Id)
This method represents the instance of a session.
GET method for Sessions(Id)
This method returns the sessions associated with the User ID.
Description Returns the session associated with the user ID.
Privilege VIEW
HTTP response
codes
200
Example request
body
{
"UserName":"root",
"Password":"linux",
"SessionType":"API"
}
Example
response body
{
"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:12.357"
}
Table 136. 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.
DELETE method for Sessions(Id)
This method deletes a specific session.
Description
Deletes a specific session.
Privilege SECURITY_SETUP
Session 399