GetLoginForComputer API

Prev Next

This URL allows you to get the list of login data of the user of specific computer in a domain.

URL

GET https://<TLC_IP>:<port>/rest/TLC/v1/bindingstore/{domain}?computername={computername}

Request

For the GetLoginForComputer API, no input is required in the request body.

Response

When the response is successful, you get Status code 200 in the http response header.

The following data fields are displayed in a successful response:

Data fields

Description

Data type

ip address

specifies the IP address of the user

String

username

specifies the username

String

computername

specifies the name of the computer.

String

logintime

specifies the login time of the user in

Numeric

2 | Introduction to Trellix Logon Collector


Data fields

Description

Data type

milliseconds.

logouttime

specifies the logout time of the user in milliseconds.

Numeric

Note

Some fields may have empty values as it is based on the record.

When the requested data is not found, the following additional fields are displayed:

Data fields

Description

Data type

status code

For failure requests, the status code for the type of failure is specified.

Numeric

error code

When requested data is not found, it specifies the API error code signifying the type of request failure.

Numeric

error message

Description of the error (optional).

String

Note

Status code 404 specifies that the data is not found in the TLC server.

Example

{
    {"ipaddress":"192.168.169.1", "username":"user1", "computername":"computer1", "logintime": "1405593089629",
    "logouttime ":"2005593089629"},

}