You can access all our SDK APIs through HTTPS GET requests, with the following structure:לשים קישור למיקום שבו בונים
Code Block |
---|
https://sdk.galooli-systems.com/JSON/[REQUEST METHOD]?[COMMON PARAMETERS]&[REQUEST PARAMTERS] |
...
Code Block |
---|
UserName=[REQUEST USER] Password=[USER PASSWORD] |
Request sample breakdown
Consider the request below
Code Block |
---|
https://sdk.galooli-systems.com/Json/Assets_Report?userName=[MY USER]&password=[MY PASSWORD]&requestedUnits=u800000[o/f/g/u ID]&requestedPropertiesStr=Real_Time.Analog.2,group_description,group_address[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=u800000[o/f/g/u ID]
Info |
---|
The letter before the number indicates the type of asset selected from the organization’s tree
Ensure that the number after the letter matches the actual id in the organization |
...
Additional, calculated fields (None): calculatedFields=
יכול להישאר ריק
דוגמא[calculatedFieldName]
Info |
---|
For example : [unit_next_maintenance_distance-unit_installation_distance] פחות אם צריך. במידה ולא אז יהיה ריק |
Results Structure
Code Block |
---|
{
"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:
Code Block |
---|
"CommonResult":{
"ResultDescription":"",
"ResultCode":0,
"DataSet":[ |
requested properties results:
Code Block |
---|
[
"Truck 7",
"Trucks",
"Fleet ",
"Disconnected"
] |
unit_name = ”Truck 7” | group_name = "Trucks" | fleet_name = "Fleet " | real_time_status = “Disconnected”