GET system/users/{userId}/sessions?search={search}

List session information for a given user

Note: Log in to check if your API client have access to run this resource
Note: This is a deprecated version of the resource. Be cautious when using it, since there exists a newer version of it, that you should be using! The current production version of the resource (if any) can be found here.
Version: 11
Success HTTP Status Code: 200

Uri parameters

{userId} Integer User identifier

The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold is required/mandatory.

Format:
1
1

The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.

search String, optional Search string will search in Pid, Ip, Systemname and createddate
$select String, optional Use to define the fields to return in the result. Accepts a comma-separated list of Output Field names. See the Expand and Select page for more information about this.
$db String, optional Set the database to use for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "json"
$lang String, optional Use to get localized responses. Supported formats are 3-letter ISO-639-1 [lll], 2-letter ISO-639-2 [ll], or a combination of a two-letter language code and a two-letter country code ISO-639-2 and ISO-3166-1 [ll_CC], [ll-CC]
$useMinimumVersion Integer, optional This can be used to test a new version of a resource when your ApiClient is running an older, deprecated, version of a resource. $useminimumversion can be used to test against a newer version of the resource. See the Deprecated APIs page for more information about this.

See the page about filters and sorting on how to use filter parameters and named filters.

See the page about filters and sorting on how to use sortable parameters

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<SystemSessions>
2
     <SystemSession>
3
          <SystemSessionId
SystemSessionId

Id of system session

>
{String}</SystemSessionId>
4
          <CreatedAt
CreatedAt

DateTime when user session was created

>
{Datetime}</CreatedAt>
5
          <IPAddress
IPAddress

The users ipaddress

>
{String}</IPAddress>
6
          <TwoFactorAuthentication>
7
               <UsedOneTimePassword
UsedOneTimePassword

Session is authenticated with two-factor password

>
{Boolean}</UsedOneTimePassword>
8
               <OTPException>
9
                    <OTPExceptionId
OTPExceptionId

A one-time-password-exception id

>
{Integer}</OTPExceptionId>
10
               </OTPException>
11
          </TwoFactorAuthentication>
12
          <SystemPermission>
13
               <SystemPermissionId
SystemPermissionId

Unique identifier for a users system permission

>
{Integer}</SystemPermissionId>
14
               <RamBaseSystem>
15
                    <RamBaseSystemId
RamBaseSystemId

A rambase system id

>
{Integer}</RamBaseSystemId>
16
                    <Name
Name

The name of the rambasesystem.

>
{String}</Name>
17
               </RamBaseSystem>
18
          </SystemPermission>
19
     </SystemSession>
20
</SystemSessions>
1
{
2
     "systemSessions": [
3
          {
4
               "systemSessionId
SystemSessionId

Id of system session

":
"{String}",
5
               "createdAt
CreatedAt

DateTime when user session was created

":
"{Datetime}",
6
               "iPAddress
IPAddress

The users ipaddress

":
"{String}",
7
               "twoFactorAuthentication": {
8
                    "usedOneTimePassword
UsedOneTimePassword

Session is authenticated with two-factor password

":
"{Boolean}",
9
                    "oTPException": {
10
                         "oTPExceptionId
OTPExceptionId

A one-time-password-exception id

":
"{Integer}"
11
                    }
12
               },
13
               "systemPermission": {
14
                    "systemPermissionId
SystemPermissionId

Unique identifier for a users system permission

":
"{Integer}",
15
                    "ramBaseSystem": {
16
                         "ramBaseSystemId
RamBaseSystemId

A rambase system id

":
"{Integer}",
17
                         "name
Name

The name of the rambasesystem.

":
"{String}"
18
                    }
19
               }
20
          }
21
     ]
22
}

List of available operations/actions for this resource.
See the operations documentation for more information about API operations.

Possible error codes the response might return: