SOAP API method WebSession_userAgent
Description
Just like the IP address, it is possible that the user-agent changes during a visit (although that is not likely). This method returns the user-agent that was detected at the first impression.
Parameters
Name | Type | Description |
---|---|---|
id * | string | Unique identifier (id) of the object WebSession. The method only applies to the websession with this id. |
login | Structure of type 'login' | Optional login data (soon deprecated) |
access_token | string | Optional api access token |
* required parameters |
Return values
Name | Type | Description |
---|---|---|
useragent | Structure of type 'useragent' |
Structure 'login'
Name | Type | Description |
---|---|---|
username | string | The username of the login attempt |
account | string | The account name of the login attempt |
password | string | The password for the login attempt |
Structure 'useragent'
Name | Type | Description |
---|---|---|
id | int | ID of the user agent |
original | string | Full original header that was sent |
fullname | string | The fullname of the browser, including a version |
browser | string | The name of the browser |
version | string | The version string of the browser |
platform | string | The platform (operating system) the user is using |