Skip to main content

SysTrack Integration – API Configuration

Get Access Token

Note: The URL below may vary per customer tenant/environment. Confirm the correct base URL or tenant ID for your setup.

API DetailsDescription
Endpointhttps://systrackcegl.b2clogin.com/systrackcegl.onmicrosoft.com/b2c_1_ropc_auth/oauth2/v2.0/token
MethodPOST
Content-Typeapplication/x-www-form-urlencoded
Form Parametersgrant_type, response_type, username, password, client_id, scope
ParameterDescription
grant_typeSpecifies the OAuth 2.0 grant type being used. For the ROPC flow, this value must be set to password.
Example: password
response_typeDefines the type of tokens expected in the response (for example, access token or ID token). Some configurations require both token and id_token.
Example: token id_token
usernameThe end user’s login identifier (such as their email address or UPN) used for authentication.
Example: [email protected]
passwordThe password corresponding to the specified username. This value is sent in the request body and should always be handled securely.
Example: YourSecurePassword123!
client_idThe unique identifier of the registered application in Azure AD B2C. It identifies which client is requesting the token.
Example: 00000000-aaaa-1111-bbbb-2222cccc3333
scopeSpecifies the permissions or scopes requested for the access token. It typically includes your API’s scope, along with standard OpenID scopes.
Example: https://tenant.onmicrosoft.com/api/read openid offline_access
Example Request (cURL)
curl --location --request POST 'https://systrackcegl.b2clogin.com}/systrackcegl.onmicrosoft.com/B2C_1_ROPC_AUTH/oauth2/v2.0/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'response_type=token' \
--data-urlencode '[email protected]' \
--data-urlencode 'password=YourPassword' \
--data-urlencode 'client_id=your_client_id' \
--data-urlencode 'scope=your_scope'

Get Device Details

Retrieves complete details of a specific device in Systrack using its Fully Qualified Domain Name (FQDN).

API Endpoint

GET https://{example-tenant}.lakesidesoftware.com/api/systems?$filter=(fqdn eq '{{systrackDevice}}')

HeaderDescription
AuthorizationThe access token obtained from the authentication API. Required for secure access to the SysTrack API.
Format: Bearer {{accessToken}}

Params

ParameterDescription
fqdnThe fully qualified domain name of the target device. This parameter filters the system information for the specified device.
fqdn eq '{{systrackDevice}}'

Sample Request


GET https://{example-tenant}.lakesidesoftware.com/api/systems?$filter=(fqdn eq '{{systrackDevice}}')
Authorization: Bearer {{accessToken}}

Get GUID

Retrieves the GUID (Globally Unique Identifier) of a specific user from the SysTrack environment using their user ID.

API Endpoint

GET https://{example-tenant}.lakesidesoftware.com/api/systems/users?user={{systrackUserId}}

Header

  • Authorization: The access token obtained from the authentication API. Required for authorization.
    Example: Bearer {{token}}

Param

  • user: The user ID used to retrieve the corresponding GUID from SysTrack.
    Example: {{systrackUserId}}

Get Sensor Actions

Retrieves the list of available sensor actions from the SysTrack environment. These actions represent system-level operations that can be executed on devices (for example, restarting a process or collecting performance data).

API Endpoint

GET https://{example-tenant}.lakesidesoftware.com/api/sensoractions

Header

  • Authorization: The access token obtained from the authentication API. Required for authorization.
    Example: Bearer {{token}}

Example

GET https://{example-tenant}.lakesidesoftware.com/api/sensoractions
Authorization: Bearer {{accessToken}}

Get Sensor Issues

Retrieves detailed sensor issue data for a specific system, within a defined time range. This API helps identify issues identified by SysTrack sensors (for example, CPU spikes, latency, or memory usage).

API Endpoint

GET https://{example-tenant}.lakesidesoftware.com/api/sensors/child/{{sysGuid}}?startTime={{startTime}}&endTime={{endTime}}

Params

ParameterDescription
sysGuidThe system GUID of the device for which sensor data is requested. This can be fetched using the Get GUID API.
Example: 123e4567-e89b-12d3-a456-426614174000
startTimeStart of the time window (in ISO 8601 format) for which sensor data should be fetched.
startTimeEnd of the time window (in ISO 8601 format) for which sensor data should be fetched.

Header

  • Authorization: The access token obtained from the authentication API. Required for authorization.
    Example: Bearer {{token}}

Run Sensor Action

Executes a predefined sensor action (such as running a diagnostic or remediation task) on one or more systems within your environment.

This API enables automated execution of corrective actions identified through sensor data or monitoring workflows.

API Endpoint

POST https://{example-tenant}.lakesidesoftware.com/api/sensoractions/run

Header

  • Authorization: The access token obtained from the authentication API. Required for authorization.
    Example: Bearer {{token}}
  • Content-Type: The format of the request body. Set to JSON.

Request Body

# Sample JSON
{
"systems": [
"f2d6e4f9-1ccc-44d3-9dec-1737df2d1bd4"
],
"executePackages": [
{
"profileID": "{{profile}}",
"actionToTake": "1",
"parameters": {}
}
]
}
ParameterDescription
systemsList of system GUIDs on which the action should be executed. Each system ID can be fetched using the Get GUID API.
Example: ["f2d6e4f9-1ccc-44d3-9dec-1737df2d1bd4"]
executePackagesArray defining the action details to be executed.
profileIDThe ID of the sensor action profile to execute.
Example: "Device_Restart_Profile"
actionToTakeSpecifies the action type or mode to execute. Value 1 usually represents “execute now.” "1"
parametersOptional input parameters required by the sensor action. Leave empty {} if not applicable.