Skip to main content
Skip table of contents

5.3 Session Resources

5.3.1 ThruSessionRequest Structure

ThruSessionRequest structure contains information required for the Thru user authentication.

Item Name

Data Type

Sample Value

Comments

UserName

String

Test

Username of the user in the system

Password

String

Password

Password of the user

ApplicationId

String

12

Application ID used by connecting application

ClientVersion

String

1

Version of the client application

Device_UUID

String

Device1234

Limited by 17 characters

UserString

String

Name / email@domain.com

Optional. External user information associated with the login session.
Will be recorded in Thru Audit on each upload/download/delete API call. Limit 256 characters

Sample Request

UserName=Test&Password=Password&ClientVersion=1&ApplicationId=12&Device_UUID=Device1234

Sample Response

Data Transfer Object

public class ThruSessionRequest
{
public string UserName
public string Password
public string ApplicationId
public string ClientVersion
public string Device_UUID
}

5.3.2 ThruPublicSession Structure

ThruPublicSession structure contains authorization information about user.

Item Name

Data Type

Sample Value

Comments

SessionID

String

TOjoy3c1LyReUsXqXX/7u3+0qv
FYXGArgsZ1k0OEGhIfwB2cd365+SCM8Rs5
JOLPMD/IJJSd2Jy7IXLl5t685kgRJo0Tr
bup/VDN+25Lkenh387d4pXJzObepqO
qusnnsA4de+5r4PHfdN0
9niJtsoSOjWZ6XlEN

Unique identification value
required for user authorization

UserID

Integer

315KQM487N2EV

Unique identification
number of the user
associated with SessionID
value

Sample

<?xml version="1.0" encoding="utf-8"?>
<ThruPublicSession xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SessionId>PKJEkiY2UHPRyWrY3s9pmpk34iTkNSdFoNBD04jUojajM9qJXUwQULllv1R4+Olqhe5fYRo8qHk+qDza
MOqkv4YAPX4jI6i5E4Il1+qbwl2QJ/OXfEr4MczMSXMFJIgQu5Ed5eani
kXAvIo9mzipP3hPh/LJSwWs
</SessionId>
<UserId>1Q1OBQWVHTROE</UserId>
</ThruPublicSession>

Data Transfer Object

public class ThruPublicSession
{
public string SessionID;
public int UserID;
}

5.3.3 ThruSessionByTicketRequest Structure

ThruSessionByTicketRequest structure contains information required for the Thru user authentication

Item Name

Data Type

Sample Value

Comments

Ticket

String

Ticket for authentication

ApplicationId

String

12

Application ID used by connecting application

ClientVersion

String

1

Version of the client application

Device_UUID

String

Device-1234

Limited by 17 characters

Sample Request

Sample Response

Data Transfer Object

public class ThruSessionByTicketRequest
{
public string Ticket
public string ApplicationId
public string ClientVersion
public string Device_UUID
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.