This URL allows you to get the list of login data of a specific IP address in the domain.
URL
GET https://<TLC_IP>:<port>/rest/TLC/v1/bindingstore/{domain}?ipaddress={ipaddress}Request
For the GetLoginForIPAddress, no input is required in the request body.
Response
When the response is successful, you get Status code 200.
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 milliseconds). | Numeric |
logouttime | specifies the logout time of the user (in milliseconds). | Numeric |
Note
Some fields may have empty values as it is displayed 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
{
"data":
[
{"ipaddress":"192.168.169.1", "username":"user1", "computername":"computer1", "logintime":
"1405593089629",
"logouttime ": "2005593089629"}
]
}
