API Guide

Table Of Contents
Table 152. Attributes (continued)
Attribute name Description
StartTimeStamp Date and time when the session began.
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 153. 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 resource model 417