API Guide

Table 147. Attributes(continued)
Attribute name Description
LastAccessedTimeStamp Date and time when the session was last accessed.
POST method for Members
This method authenticates a user and establishes a session.
Description Establishes a session.
Privilege SECURITY_SETUP
HTTP response
codes
200
Example
Input:
{
"UserName":"root",
"Password":"linux",
"SessionType":"API"
}
Output:
{
"Id": "7b723932-a119-4843-a5b7-7a122e4def99",
"Description": "root",
"Name": "API",
"UserName": "root",
"Password": null,
"Roles": [
"ADMINISTRATOR"
],
"IpAddress": "10.210.136.38",
"StartTimeStamp": "2017-04-17 20:07:12.357",
"LastAccessedTimeStamp": "2017-04-17 20:07:12.357"
}
Table 148. Attributes
Attribute name Description
Id ID of the session service.
UserName User name of the active session.
Password Password of the active session.
Roles Privilege assigned to the role.
IpAddress IP Address of session source.
StartTimeStamp Date and time when the session began.
LastAccessedTimeStamp Date and time when the session was last accessed.
/redfish/v1/SessionService/Sessions/Members(Id)
This URI represents a specific session.
GET method for Members(Id)
This method returns the details of a specific session.
Description
Returns the details of a session.
Privilege SECURITY_SETUP
Redfish resource model 401