You can access all our SDK APIs through HTTPS GET requests, with the following structure:
https://sdk.galooli-systems.com/JSON/[REQUEST METHOD]?[COMMON PARAMETERS]&[REQUEST PARAMTERS]
Where [COMMON PARAMTERS]:
UserName=[REQUEST USER] Password=[USER PASSWORD]
Request Structure Breakdown
Consider the request below
https://sdk.galooli-systems.com/Json/Assets_Report?userName=[MY USER]&password=[MY PASSWORD]&requestedPropertiesStr=[fieldName],calculatedFields=[calculatedFieldName]&lastGmtUpdateTime=YYYY-MM-DD HH:MM:SS&requestedUnits=[o/f/g/u ID]
Base URL:
https://sdk.galooli-systems.com/Json/
Request Method:
Assets_Report?
Common Parameters:
userName=[MY USER]&password=[MY PASSWORD]
Global users must add %26 followed by the name of the relevant organization between their username and password.
[MY USER]%26[ORGANIZATION NAME]&password=[MY PASSWORD]
Requested Asset object:
requestedUnits=[o/f/g/u ID]
The letter before the number indicates the type of asset selected from the organization’s tree
"u" stands for "unit"
“g” stands for “group”
“f” stands for “cluster”
“o” stands for “organization”
Ensure that the number after the letter matches the actual id in the organization
Requested Fields:
requestedPropertiesStr=[FIELDS LIST such as unit_id,unit_name, etc.]
Additional, calculated fields:
calculatedFields=[calculatedFieldName]
For example : [unit_next_maintenance_distance-unit_installation_distance]
unit_next_maintenance_distance minus unit_installation_distance
Results Structure Breakdown
{ "MaxGmtUpdateTime":"2022-12-26 12:55:31", "CommonResult":{ "ResultDescription":"", "ResultCode":0, "DataSet":[ [ "Truck 7", "Trucks", "Fleet ", "Disconnected" ], [ "Truck 9", "Trucks", "Fleet ", "Disconnected" ] ] ] } }
Date & time of the request execution:
MaxGmtUpdateTime":"2022-12-26 12:55:31"
Only for Asset reports
Result header:
"CommonResult":{ "ResultDescription":"", "ResultCode":0, "DataSet":[
Requested properties results:
[ "Truck 7", "Trucks", "Fleet ", "Disconnected" ]
unit_name = ”Truck 7” | group_name = "Trucks" | fleet_name = "Fleet " | real_time_status = “Disconnected”