Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Seite als PDF downloadenImage Removed

Our GPS Fleet Software has a JSON API interface in order to integrate with 3rd party software solutions (ERP, etc.). The API JSON interface works for our web-based hosting accounts as well as for local server customers (if the network allows it).

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.


Table of Contents

Versions

DateVersionComments
06.11.

...

 

...

193.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.

...

 <resource path="/checkuser">
 <method id="checkuser" name="GET">
 <request>
<param xmlns:xs="http://www.w3.org/2001/XMLSchema" name="apikey" style="query" type="xs:string"/>
</request>
 <response>
<representation mediaType="application/json"/>
</response>
</method>
</resource>

Basic examples

 


Query for existing assets

...

YYYY ... assetid


Get historic trips

https://XXX.sw-management.at/GFS/api/masterdata/gps/getGpsHistory?apikey=ENTERYOURSECID&limit=300xmlYYYYYYYYYYY&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

https://XXX.sw-management.at/GFS/api/masterdata/logbook/getLogbookData_for_assetid?apikey=ENTERYOURSECID&assetid=YYYY&showprivate=true&trips=true&stops=false&opt_datestr_from_yyyyMMddhhmmss=20171013000000


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: []