...
The availabilty of the JSON interface depends on our offers and standard conditions. Please contact your provider / support for more information and test interface data.
toc
Table of Contents |
---|
Versions
Date | Version | Comments |
---|---|---|
06.11.19 | 3.8.50 | getGpsHistory Query with new parameters for start date and end date getGpsHistory Response with new fields (temperature, analog input) driver/create Call for creating/changing drivers building_site_codes Call for creating/changing/deleting project codes |
How to access the API
The API can only be used with an APIKEY that can only be set by our support.
...
Basic examples
...
Query for existing assets
...
YYYY ... assetid
Get historic trips
https://XXX.sw-management.at/GFS/api/masterdata/gps/getGpsHistory?apikey=ENTERYOURSECID&limit=300=xmlYYYYYYYYYYY&opt_assetid_filter=XXX&opt_datestr_from_yyyyMMddhhmmss=20191015000000&opt_datestr_to_yyyyMMddhhmmss=20191016000000
xxx ... replace the link
ENTERYOURSECID ... the APIKEY that is set for the account
...
https://XXX.sw-management.at/GFS/api/masterdata/driver/getDrivers?apikey=ENTERYOURSECID
Create drivers
Using a POST you can create new drivers
https://XXX.sw-management.at/GFS/api/masterdata/driver/create?apikey=ENTERYOURSECID
{
"shortname": "maxm",
"username": "Max Maier",
"mobile": "mobile number, not required",
"email": "test@example.com",
"password": "Max Maier"
}
Get logbook entries
Create logbook project codes
Using a POST you can create or delete project codes
https://XXX.sw-management.at/GFS/api/masterdata/logbook/building_site_codes?apikey=ENTERYOURSECID
codes: [
{
code: "B1917",
title: "Großmarkt",
address: "9999 Klöszß, Bahnhof 13",
from: 1571664554000,
to: 1572684554000,
people: [163,164]
}
],
toDelete: []