Get Session Data

get

/api/core/Login/readSessionInfo

Gets the session data.

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulGetOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
The session data.
Show Source
Nested Schema : items
Match All
Show Source
Nested Schema : SessionInfoRead
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : PermissionIDs
Type: object
An object having ids of all the permissions that the user has
Example:
{
    "AAAAuthTypes":"10021",
    "brokerServices":"11008"
}
Nested Schema : Permissions
Type: object
An object having sub-objects each of which shows permissions like create, update, delete available to the user for each endpoint
Example:
{
    "AAA":{
        "AuthTypes":{
            "read":true,
            "create":false
        },
        "Permissions":{
            "read":true,
            "create":false
        }
    }
}
Nested Schema : Preferences
Type: object
An object showing the user preferences
Example:
{
    "PageSize":"1000",
    "RefreshRate":"60"
}
Nested Schema : Properties
Type: object
An object showing restrictive property IDs
Example:
{
    "RestrictiveDeviceGroupId":"1"
}

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top