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 sample breakdown
Consider the request below
https://sdk.galooli-systems.com/Json/Assets_Report?userName=[MY USER]&password=[MY PASSWORD]&requestedUnits=[o/f/g/u ID]&requestedPropertiesStr=[fieldName]&calculatedFields=[calculatedFieldName]
Base URL: https://sdk.galooli-systems.com/Json/
Request Method: Assets_Report?
Common Parameters: userName=[MY USER]&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
פחות
unit_installation_distance
אם צריך. במידה ולא אז יהיה ריק
Results Structure
{ "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"
(רק לASSET
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”