developer portal

Fleet

Eco - Speedings

Get Speedings

Returns a list of all speedings by users or vehicles within a date/time range. Provide either some user id's or vehicle id's to identify resources.

Request body

object

FieldTypeRequired
Fromstringrequired
Tostringrequired
UserIds(default = [])arrayoptional
VehicleIds(default = [])arrayoptional
{
  "From": "2019-01-01T00:00:00+01:00",
  "To": "2019-01-31T23:59:59+01:00",
  "UserIds": [
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000"
  ],
  "VehicleIds": [
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000"
  ]
}

Responses

200OK
FieldType
DateTimestring
VehicleIdstring
VehicleName(default = null)string
VehicleLicensePlate(default = null)string
DriverIdstring
DriverName(default = null)string
Speednumber
MaxSpeed(default = 0)number
Fine(default = 0)number
Revocation(default = false) Indicates whether the infraction is severe enough that the driving license would be revoked if caught by the police.boolean
TooltipEn(default = null)string
TooltipFr(default = null)string
TooltipNl(default = null)string
[
  {
    "DateTime": "2019-03-12T11:00:51+01:00",
    "VehicleId": "00000000-0000-0000-0000-000000000000",
    "VehicleName": "Vehicle 1",
    "VehicleLicensePlate": "1-ABC-123",
    "DriverId": "00000000-0000-0000-0000-000000000000",
    "DriverName": "John Doe",
    "Speed": 121,
    "MaxSpeed": 100,
    "Fine": 65,
    "Revocation": false,
    "TooltipEn": null,
    "TooltipFr": null,
    "TooltipNl": null
  }
]
401Unauthorized
403Forbidden
429Too Many Requests

Eco - Driver identifications

Create driver identification

Creates a new driver identification.

Request body

object

FieldTypeRequired
UserCodestringrequired
VehicleCodestringrequired
StartDateTimestringrequired
{
  "UserCode": "012345",
  "VehicleCode": "012345",
  "StartDateTime": "2019-03-12T11:00:51+01:00"
}

Responses

200OK
400BadRequest
FieldType
UserCodestring
VehicleCodestring
StartDateTimestring
{
  "UserCode": "012345",
  "VehicleCode": "012345",
  "StartDateTime": "2019-03-12T11:00:51+01:00"
}
401Unauthorized
403Forbidden
417ExpectationFailed
429Too Many Requests
500InternalServerError

Eco - Import fuel transactions

Import fuel transactions

Imports one or more fuel transactions.

Request body

object

FieldTypeRequired
FuelTransactions(default = [])arrayoptional
{
  "FuelTransactions": [
    {
      "TrackingDeviceId": "1000000000",
      "TransactionNumber": "1",
      "Timestamp": "2019-01-23T04:56:07",
      "Liters": 65.5,
      "Price": 70.4,
      "Source": "1000",
      "Mileage": 1245.4
    }
  ]
}

Responses

200OK
400BadRequest
[
  {
    "Entity": {
      "TrackingDeviceId": "1000000000",
      "TransactionNumber": "1",
      "Timestamp": "2019-01-23T04:56:07",
      "Liters": 65.5,
      "Price": 70.4,
      "Source": "1000",
      "Mileage": 1245.4
    },
    "ValidationResult": [
      {
        "Message": "",
        "SourceMemberNames": []
      }
    ]
  }
]
401Unauthorized
403Forbidden
417ExpectationFailed
429Too Many Requests

Fleet - Fuel transactions

Get fuel transactions

Returns a list of fuel transactions, optionally filtered by users, vehicles, fuel pumps and/or fuel tanks.

Query parameters

NameTypeRequiredExample
fromDatestringrequired2019-01-17T00:00:00
toDatestringrequired2019-01-18T23:59:59

Request body

object

FieldTypeRequired
Users(default = [])arrayoptional
Resources(default = [])arrayoptional
Tanks(default = [])arrayoptional
Pumps(default = [])arrayoptional
UnlinkedTransactions(default = false)booleanoptional
{
  "Users": [
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000"
  ],
  "Resources": [
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000"
  ],
  "Tanks": [
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000"
  ],
  "Pumps": [
    "00000000-0000-0000-0000-000000000000",
    "00000000-0000-0000-0000-000000000000"
  ],
  "UnlinkedTransactions": false
}

Responses

200OK
FieldType
DateTimeDate and time the fuel transaction occurred.string
FuelTankFuelTank
FuelPumpFuelPump
UserFuelTransactionUser
VehicleFuelTransactionVehicle
TransactionNumberExternal transaction number linked to this fuel transaction.string
PriceTotal cost of the fuel transaction.number
LitersTotal amount of liters refueled.number
KmVehicleCurrent total mileage of the vehicle. Automatically calculated using track and trace data.number
KmUserMileage as entered by the user while refueling.number
KmDrivenMileage manually entered by the user while refueling the vehicle.number
AvgConsumptionAverage fuel consumption since the last time the vehicle was refuelled. We assume the fuel tank was completely filled up in order to calculate this. Partial fill-ups will not return relevant data.number
TypeType of fuel transaction. This will vary depending on whether a vehicle was refuelled or whether the fuel tank itself has been refilled.string
InfoAdditional info of fuel transaction.string
VehicleIdentificationIdentification of vehicle.string
[
  {
    "DateTime": "2019-01-25T08:29:37",
    "FuelTank": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Tank",
      "Capacity": 1500,
      "Limit": 1500,
      "CurrentLevel": 1500,
      "FuelType": 1,
      "FuelTypeName": "Diesel"
    },
    "FuelPump": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Pump",
      "Code": "1500",
      "FuelType": 1,
      "FuelTypeName": "Diesel",
      "Type": 1,
      "TypeName": "VehicleCode_Info"
    },
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "John Doe",
      "Code": "012345"
    },
    "Vehicle": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "Vehicle 1",
      "Code": "012345",
      "LicensePlate": "1-ABC-123"
    },
    "TransactionNumber": "00000000",
    "Price": 10,
    "Liters": 10,
    "KmVehicle": 10,
    "KmUser": 10,
    "KmDriven": 0,
    "AvgConsumption": 0,
    "Type": "Bijtanken",
    "Info": "",
    "VehicleIdentification": "500145"
  }
]
401Unauthorized
403Forbidden
429Too Many Requests

Fleet - Fuel sensors

Fleet - Vehicle usage

Get vehicle usage

Returns a list of vehicle usages by person.

Query parameters

NameTypeRequiredExample
fromDatestringrequired2019-01-17T00:00:00+01:00
toDatestringrequired2019-01-18T23:59:59+01:00
includeClockingsbooleanoptionalfalse
includeStopsbooleanoptionalfalse
includeDrivingsbooleanoptionalfalse

Request body

string[]

[
  "00000000-0000-0000-0000-000000000000",
  "00000000-0000-0000-0000-000000000000"
]

Responses

200OK
FieldType
UserUser
Days(default = [])VehicleUsagePerDay[]
Allowed values in nested fields
User.Country
151 allowed values
  • 0 Belgium
  • 1 France
  • 2 Netherlands
  • 3 Luxembourg
  • 4 Italy
  • 5 Norway
  • 6 Denmark
  • 7 Sweden
  • 8 San Marino
  • 9 Andorra
  • 10 Germany
  • 11 United Kingdom
  • 12 Spain
  • 13 Portugal
  • 14 Switzerland
  • 15 Austria
  • 20 Hungary
  • 21 Czechia
  • 22 Greece
  • 23 Poland
  • 24 Slovakia
  • 25 Turkey
  • 26 Albania
  • 27 Bulgaria
  • 28 Bosnia Herzegovina
  • 29 Belarus
  • 30 Moldova
  • 31 Macedonia
  • 32 Montenegro
  • 33 Romania
  • 34 Serbia
  • 35 Ukraine
  • 36 Finland
  • 37 Ireland
  • 38 Malta
  • 39 Estonia
  • 40 Croatia
  • 41 Lithuania
  • 42 Latvia
  • 43 Slovenia
  • 44 Armenia
  • 45 Azerbaijan
  • 46 Cyprus
  • 47 Faroe Islands
  • 48 Georgia
  • 49 Gibraltar
  • 50 Iceland
  • 51 Monaco
  • 52 Russia
  • 53 Vatican
  • 54 Kosovo
  • 55 United Arab Emirates
  • 56 Afghanistan
  • 57 Argentina
  • 58 Australia
  • 59 Bangladesh
  • 60 Bahrain
  • 61 Brunei
  • 62 Bolivia
  • 63 Brazil
  • 64 Bhutan
  • 65 Botswana
  • 66 Belize
  • 67 Canada
  • 68 Congo
  • 69 Cote d'Ivoire
  • 70 Chile
  • 71 Cameroon
  • 72 China
  • 73 Colombia
  • 74 Costa Rica
  • 75 Cuba
  • 76 Dominican Republic
  • 77 Algeria
  • 78 Ecuador
  • 79 Egypt
  • 80 Eritrea
  • 81 Ethiopia
  • 82 Greenland
  • 83 Guatemala
  • 84 Honduras
  • 85 Haiti
  • 86 Indonesia
  • 87 Israel
  • 88 India
  • 89 Iraq
  • 90 Iran
  • 91 Jamaica
  • 92 Jordan
  • 93 Japan
  • 94 Kenya
  • 95 Kyrgyzstan
  • 96 Cambodia
  • 97 Korea
  • 98 Kuwait
  • 99 Kazakhstan
  • 100 Laos
  • 101 Lebanon
  • 102 Liechtenstein
  • 103 Sri Lanka
  • 104 Libya
  • 105 Morocco
  • 106 Mali
  • 107 Myanmar
  • 108 Mongolia
  • 109 Macao SAR
  • 110 Maldives
  • 111 Mexico
  • 112 Malaysia
  • 113 Nigeria
  • 114 Nicaragua
  • 115 Nepal
  • 116 New Zealand
  • 117 Oman
  • 118 Panama
  • 119 Peru
  • 120 Philippines
  • 121 Pakistan
  • 122 Puerto Rico
  • 123 Paraguay
  • 124 Qatar
  • 125 Reunion
  • 126 Rwanda
  • 127 Saudi Arabia
  • 128 Singapore
  • 129 Senegal
  • 130 Somalia
  • 131 El Salvador
  • 132 Syria
  • 133 Thailand
  • 134 Tajikistan
  • 135 Turkmenistan
  • 136 Tunisia
  • 137 Trinidad and Tobago
  • 138 Taiwan
  • 139 United States
  • 140 Uruguay
  • 141 Uzbekistan
  • 142 Venezuela
  • 143 Vietnam
  • 144 Yemen
  • 145 South Africa
  • 146 Zimbabwe
  • 147 Guinea-Bissau
  • 148 Angola
  • 149 Cabo Verde
  • 150 Sao Tome and Principe
  • 151 Mozambique
  • 152 Guinea
  • 153 Mauritania
  • 9999 Unknown
User.Groups[].Type

0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking

Days[].VehicleUsages[].Vehicle.Category

0 Other 1 M1 Vehicles used for carriage of passengers, comprising not more than eight seats in addition to the driver's seat. 2 M2 Vehicles used for the carriage of passengers, comprising more than eight seats in addition to the driver's seat, and having a maximum mass not exceeding 5 tonnes. (Bus) 3 M3 Vehicles used for the carriage of passengers, comprising more than eight seats in addition to the driver's seat, and having a maximum mass exceeding 5 tonnes. (Bus) 4 N1 Vehicles used for the carriage of goods and having a maximum mass not exceeding 3.5 tonnes. (Pick-up Truck, Van) 5 N2 Vehicles used for the carriage of goods and having a maximum mass exceeding 3.5 tonnes but not exceeding 12 tonnes. (Commercial Truck) 6 N3 Vehicles used for the carriage of goods and having a maximum mass exceeding 12 tonnes. (Commercial Truck)

Days[].VehicleUsages[].Vehicle.FuelType

0 Gasoline 1 Diesel 2 LPG 3 Electricity 4 Red Diesel 5 Ppo 6 Cng 7 Hybrid 8 Plug-in hybrid

Days[].VehicleUsages[].Vehicle.EmissionStandard

0 Unknown 100 Euro1 200 Euro2 300 Euro3 400 Euro4 500 Euro5 600 Euro6

Days[].VehicleUsages[].Vehicle.CostCenter.Poi.Country
151 allowed values
  • 0 Belgium
  • 1 France
  • 2 Netherlands
  • 3 Luxembourg
  • 4 Italy
  • 5 Norway
  • 6 Denmark
  • 7 Sweden
  • 8 San Marino
  • 9 Andorra
  • 10 Germany
  • 11 United Kingdom
  • 12 Spain
  • 13 Portugal
  • 14 Switzerland
  • 15 Austria
  • 20 Hungary
  • 21 Czechia
  • 22 Greece
  • 23 Poland
  • 24 Slovakia
  • 25 Turkey
  • 26 Albania
  • 27 Bulgaria
  • 28 Bosnia Herzegovina
  • 29 Belarus
  • 30 Moldova
  • 31 Macedonia
  • 32 Montenegro
  • 33 Romania
  • 34 Serbia
  • 35 Ukraine
  • 36 Finland
  • 37 Ireland
  • 38 Malta
  • 39 Estonia
  • 40 Croatia
  • 41 Lithuania
  • 42 Latvia
  • 43 Slovenia
  • 44 Armenia
  • 45 Azerbaijan
  • 46 Cyprus
  • 47 Faroe Islands
  • 48 Georgia
  • 49 Gibraltar
  • 50 Iceland
  • 51 Monaco
  • 52 Russia
  • 53 Vatican
  • 54 Kosovo
  • 55 United Arab Emirates
  • 56 Afghanistan
  • 57 Argentina
  • 58 Australia
  • 59 Bangladesh
  • 60 Bahrain
  • 61 Brunei
  • 62 Bolivia
  • 63 Brazil
  • 64 Bhutan
  • 65 Botswana
  • 66 Belize
  • 67 Canada
  • 68 Congo
  • 69 Cote d'Ivoire
  • 70 Chile
  • 71 Cameroon
  • 72 China
  • 73 Colombia
  • 74 Costa Rica
  • 75 Cuba
  • 76 Dominican Republic
  • 77 Algeria
  • 78 Ecuador
  • 79 Egypt
  • 80 Eritrea
  • 81 Ethiopia
  • 82 Greenland
  • 83 Guatemala
  • 84 Honduras
  • 85 Haiti
  • 86 Indonesia
  • 87 Israel
  • 88 India
  • 89 Iraq
  • 90 Iran
  • 91 Jamaica
  • 92 Jordan
  • 93 Japan
  • 94 Kenya
  • 95 Kyrgyzstan
  • 96 Cambodia
  • 97 Korea
  • 98 Kuwait
  • 99 Kazakhstan
  • 100 Laos
  • 101 Lebanon
  • 102 Liechtenstein
  • 103 Sri Lanka
  • 104 Libya
  • 105 Morocco
  • 106 Mali
  • 107 Myanmar
  • 108 Mongolia
  • 109 Macao SAR
  • 110 Maldives
  • 111 Mexico
  • 112 Malaysia
  • 113 Nigeria
  • 114 Nicaragua
  • 115 Nepal
  • 116 New Zealand
  • 117 Oman
  • 118 Panama
  • 119 Peru
  • 120 Philippines
  • 121 Pakistan
  • 122 Puerto Rico
  • 123 Paraguay
  • 124 Qatar
  • 125 Reunion
  • 126 Rwanda
  • 127 Saudi Arabia
  • 128 Singapore
  • 129 Senegal
  • 130 Somalia
  • 131 El Salvador
  • 132 Syria
  • 133 Thailand
  • 134 Tajikistan
  • 135 Turkmenistan
  • 136 Tunisia
  • 137 Trinidad and Tobago
  • 138 Taiwan
  • 139 United States
  • 140 Uruguay
  • 141 Uzbekistan
  • 142 Venezuela
  • 143 Vietnam
  • 144 Yemen
  • 145 South Africa
  • 146 Zimbabwe
  • 147 Guinea-Bissau
  • 148 Angola
  • 149 Cabo Verde
  • 150 Sao Tome and Principe
  • 151 Mozambique
  • 152 Guinea
  • 153 Mauritania
  • 9999 Unknown
Days[].VehicleUsages[].Vehicle.CostCenter.Poi.Priority

- No Priority 0 Priority 0 (lowest) 1 Priority 1 2 Priority 2 3 Priority 3 4 Priority 4 5 Priority 5 6 Priority 6 7 Priority 7 8 Priority 8 9 Priority 9 (highest)

Days[].VehicleUsages[].Vehicle.Groups[].Type

0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking

Days[].VehicleUsages[].Clockings[].User.Country
151 allowed values
  • 0 Belgium
  • 1 France
  • 2 Netherlands
  • 3 Luxembourg
  • 4 Italy
  • 5 Norway
  • 6 Denmark
  • 7 Sweden
  • 8 San Marino
  • 9 Andorra
  • 10 Germany
  • 11 United Kingdom
  • 12 Spain
  • 13 Portugal
  • 14 Switzerland
  • 15 Austria
  • 20 Hungary
  • 21 Czechia
  • 22 Greece
  • 23 Poland
  • 24 Slovakia
  • 25 Turkey
  • 26 Albania
  • 27 Bulgaria
  • 28 Bosnia Herzegovina
  • 29 Belarus
  • 30 Moldova
  • 31 Macedonia
  • 32 Montenegro
  • 33 Romania
  • 34 Serbia
  • 35 Ukraine
  • 36 Finland
  • 37 Ireland
  • 38 Malta
  • 39 Estonia
  • 40 Croatia
  • 41 Lithuania
  • 42 Latvia
  • 43 Slovenia
  • 44 Armenia
  • 45 Azerbaijan
  • 46 Cyprus
  • 47 Faroe Islands
  • 48 Georgia
  • 49 Gibraltar
  • 50 Iceland
  • 51 Monaco
  • 52 Russia
  • 53 Vatican
  • 54 Kosovo
  • 55 United Arab Emirates
  • 56 Afghanistan
  • 57 Argentina
  • 58 Australia
  • 59 Bangladesh
  • 60 Bahrain
  • 61 Brunei
  • 62 Bolivia
  • 63 Brazil
  • 64 Bhutan
  • 65 Botswana
  • 66 Belize
  • 67 Canada
  • 68 Congo
  • 69 Cote d'Ivoire
  • 70 Chile
  • 71 Cameroon
  • 72 China
  • 73 Colombia
  • 74 Costa Rica
  • 75 Cuba
  • 76 Dominican Republic
  • 77 Algeria
  • 78 Ecuador
  • 79 Egypt
  • 80 Eritrea
  • 81 Ethiopia
  • 82 Greenland
  • 83 Guatemala
  • 84 Honduras
  • 85 Haiti
  • 86 Indonesia
  • 87 Israel
  • 88 India
  • 89 Iraq
  • 90 Iran
  • 91 Jamaica
  • 92 Jordan
  • 93 Japan
  • 94 Kenya
  • 95 Kyrgyzstan
  • 96 Cambodia
  • 97 Korea
  • 98 Kuwait
  • 99 Kazakhstan
  • 100 Laos
  • 101 Lebanon
  • 102 Liechtenstein
  • 103 Sri Lanka
  • 104 Libya
  • 105 Morocco
  • 106 Mali
  • 107 Myanmar
  • 108 Mongolia
  • 109 Macao SAR
  • 110 Maldives
  • 111 Mexico
  • 112 Malaysia
  • 113 Nigeria
  • 114 Nicaragua
  • 115 Nepal
  • 116 New Zealand
  • 117 Oman
  • 118 Panama
  • 119 Peru
  • 120 Philippines
  • 121 Pakistan
  • 122 Puerto Rico
  • 123 Paraguay
  • 124 Qatar
  • 125 Reunion
  • 126 Rwanda
  • 127 Saudi Arabia
  • 128 Singapore
  • 129 Senegal
  • 130 Somalia
  • 131 El Salvador
  • 132 Syria
  • 133 Thailand
  • 134 Tajikistan
  • 135 Turkmenistan
  • 136 Tunisia
  • 137 Trinidad and Tobago
  • 138 Taiwan
  • 139 United States
  • 140 Uruguay
  • 141 Uzbekistan
  • 142 Venezuela
  • 143 Vietnam
  • 144 Yemen
  • 145 South Africa
  • 146 Zimbabwe
  • 147 Guinea-Bissau
  • 148 Angola
  • 149 Cabo Verde
  • 150 Sao Tome and Principe
  • 151 Mozambique
  • 152 Guinea
  • 153 Mauritania
  • 9999 Unknown
Days[].VehicleUsages[].Clockings[].User.Groups[].Type

0 User 1 Vehicle 2 Timeclock 3 Asset 4 Ivr phone number 5 Cost center 6 Work place 7 Mobile clocking

[
  {
    "User": {
      "Id": "00000000-0000-0000-0000-000000000000",
      "Name": "John Doe",
      "Code": "012345",
      "EmployerCode": "012345",
      "Email": "john.doe@doe.com",
      "Gsm": "+32477665544",
      "FreeField1": null,
      "FreeField2": null,
      "FreeField3": null,
      "FreeField4": null,
      "FreeField5": null,
      "FreeField6": null,
      "Notes": null,
      "Street": "Dumolinlaan",
      "HouseNumber": "9",
      "City": "Kortrijk",
      "PostalCode": "8500",
      "Submunicipality": "Kortrijk",
      "Country": 0,
      "Longitude": 3.245304,
      "Latitude": 50.812939,
      "DefaultDayProgram": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "Default"
      },
      "Groups": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Employees",
          "Type": 0,
          "Code": "012345"
        }
      ]
    },
    "Days": [
      {
        "Date": "2019-01-17T00:00:00",
        "VehicleUsages": [
          {
            "Vehicle": {
              "Id": "00000000-0000-0000-0000-000000000000",
              "Name": "Vehicle 1",
              "IvrCode": null,
              "Code": "012345",
              "Category": 0,
              "FuelType": "1",
              "Co2Emission": 80,
              "RowOfSeatsCount": 2,
              "SeatsCount": 5,
              "LicensePlate": "1-ABC-123",
              "VinNumber": "ABCDE01234F567890",
              "HasTrackingData": false,
              "LastReportDate": "2019-03-19T11:45:47+01:00",
              "LastSyncDate": "2019-03-19T11:45:47+01:00",
              "UserNotes": null,
              "Weight": 600,
              "EmissionStandard": "300",
              "MaximumSpeed": 220,
              "NominalConsumption": 5.5,
              "CostCenter": {
                "Id": "00000000-0000-0000-0000-000000000000",
                "Name": "Workplace 1",
                "Code": "012345",
                "Poi": {
                  "Id": "00000000-0000-0000-0000-000000000000",
                  "Name": "Work",
                  "Code": "012345",
                  "PoiType": {
                    "Id": "00000000-0000-0000-0000-000000000000",
                    "Name": "Work place",
                    "Color": "#00FF2F"
                  },
                  "IsAssetLocation": false,
                  "Street": "Dumolinlaan",
                  "HouseNumber": "9",
                  "City": "Kortrijk",
                  "Submunicipality": "Kortrijk",
                  "PostalCode": "8500",
                  "Country": 0,
                  "Priority": "0",
                  "Description": "Work",
                  "GeographyWkt": "POLYGON ((3.145219 50.81309, 3.244998 50.81309, 3.244998 50.91806, 3.145219 50.91806, 3.145219 50.81309))",
                  "LonMin": 3.145219,
                  "LonMax": 3.244998,
                  "LatMin": 50.81309,
                  "LatMax": 50.91806,
                  "MarkerLon": 3.145219,
                  "MarkerLat": 50.81309,
                  "IsLambert72": false,
                  "Radius": 0.03,
                  "ReverseGeocoding": false,
                  "Groups": [
                    {
                      "Id": "00000000-0000-0000-0000-000000000000",
                      "Name": "Work places",
                      "Pois": [
                        {}
                      ],
                      "NumberOfPois": 1
                    }
                  ]
                }
              },
              "Groups": [
                {
                  "Id": "00000000-0000-0000-0000-000000000000",
                  "Name": "Employees",
                  "Type": 0,
                  "Code": "012345"
                }
              ]
            },
            "MileageTotal": 236.5,
            "TotalPowerLost": 0,
            "Mileage": 5650.406,
            "Clockings": [
              {
                "User": {
                  "Id": "00000000-0000-0000-0000-000000000000",
                  "Name": "John Doe",
                  "Code": "012345",
                  "EmployerCode": "012345",
                  "Email": "john.doe@doe.com",
                  "Gsm": "+32477665544",
                  "FreeField1": null,
                  "FreeField2": null,
                  "FreeField3": null,
                  "FreeField4": null,
                  "FreeField5": null,
                  "FreeField6": null,
                  "Notes": null,
                  "Street": "Dumolinlaan",
                  "HouseNumber": "9",
                  "City": "Kortrijk",
                  "PostalCode": "8500",
                  "Submunicipality": "Kortrijk",
                  "Country": 0,
                  "Longitude": 3.245304,
                  "Latitude": 50.812939,
                  "DefaultDayProgram": {
                    "Id": "00000000-0000-0000-0000-000000000000",
                    "Name": "Default"
                  },
                  "Groups": [
                    {
                      "Id": "00000000-0000-0000-0000-000000000000",
                      "Name": "Employees",
                      "Type": 0,
                      "Code": "012345"
                    }
                  ]
                },
                "DateTime": "2019-01-17T06:02:03+01:00"
              }
            ],
            "Stops": [
              {
                "Location": "Dumolinlaan 9, 8500 Kortrijk [Kortrijk], BE",
                "Pois": [
                  {
                    "Id": "00000000-0000-0000-0000-000000000000",
                    "Name": "Work"
                  }
                ],
                "From": "2019-01-17T06:57:53+01:00",
                "To": "2019-01-17T08:41:43+01:00"
              }
            ],
            "Drivings": [
              {
                "From": "2019-01-17T06:57:53+01:00",
                "To": "2019-01-17T08:41:43+01:00"
              }
            ]
          }
        ]
      }
    ]
  }
]
401Unauthorized
403Forbidden
429Too Many Requests

Fleet - Vehicle with driver identification

Update vehicle and create driver identification

Updates a vehicle by tracking device unit id and creates a new driver identification by user code.

If necessary, a new user and/or user group is created before creating a driver identification.

Request body

object

FieldTypeRequired
TrackingDeviceIdThe unique vehicle unit id.stringrequired
VehicleNamestringrequired
Licenseplate(default = null)stringoptional
Vin(default = null)stringoptional
FuelType

ppo Ppo p Gasoline lpg LPG e Electricity d Diesel cng Cng

stringrequired
FuelConsumption(default = 0.0)numberoptional
UserNamestringrequired
UserCodeThe user and user group code seperated by `/`.stringrequired
DriverStartstringrequired
{
  "TrackingDeviceId": "1000000000",
  "VehicleName": "Vehicle 1",
  "Licenseplate": "1-ABC-123",
  "Vin": "ABCDE01234F567890",
  "FuelType": "d",
  "FuelConsumption": 5.5,
  "UserName": "John Doe",
  "UserCode": "012345/9876",
  "DriverStart": "2019-01-24T17:00:00"
}

Responses

200OK
400BadRequest
FieldType
Entityobject
ValidationResultarray
Allowed values in nested fields
Entity.FuelType

ppo Ppo p Gasoline lpg LPG e Electricity d Diesel cng Cng

{
  "Entity": {
    "TrackingDeviceId": "1000000000",
    "VehicleName": "Vehicle 1",
    "Licenseplate": "1-ABC-123",
    "Vin": "ABCDE01234F567890",
    "FuelType": "d",
    "FuelConsumption": 5.5,
    "UserName": "John Doe",
    "UserCode": "012345/9876",
    "DriverStart": "2019-01-24T17:00:00"
  },
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
401Unauthorized
403Forbidden
417ExpectationFailed
429Too Many Requests
500InternalServerError

Fleet - Transport tickets

Get transport tickets by date

Returns a list of all the tickets from the given date.

Path parameters

NameTypeRequiredExample
datestringrequired2020-01-01

Responses

200OK
FieldType
Data(default = null)array
ValidationResultarray
{
  "Data": [
    {
      "Id": "00000000-0000-0000-0000-000000000000",
      "TransportTicketUser": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "John Doe",
        "UserTypes": [
          0
        ],
        "VehicleType": {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Name": "Vehicle Type"
        },
        "InternalCode": "0123456789",
        "Email": "johndoe@company.com",
        "PhoneNumber": "+32123456789"
      },
      "TransportTicketCompany": {
        "Id": "00000000-0000-0000-0000-000000000000",
        "Name": "John Doe",
        "Vat": "0123456789",
        "Email": "johndoe@company.com"
      },
      "Date": "2021-07-12T08:29:37",
      "Pause": {
        "Enabled": true,
        "Value": "01:00:00",
        "Remark": "remark"
      },
      "Return": {
        "Enabled": true,
        "Value": "01:00:00",
        "Remark": "remark"
      },
      "Total": "01:00:00",
      "TransporterInfo": {
        "AlreadyLoaded": true,
        "Mileage": 107
      },
      "CreationTime": "2021-07-12T08:29:37",
      "Registrations": [
        {
          "Id": "00000000-0000-0000-0000-000000000000",
          "Type": 0,
          "Remark": "remark",
          "Arrival": "2021-07-12T08:29:37",
          "Departure": "2021-07-12T08:29:37",
          "SubmitTimeStamp": "2021-07-12T08:29:37",
          "Poi": {
            "Id": "00000000-0000-0000-0000-000000000000",
            "Name": "Work",
            "Code": "012345"
          },
          "WorkplaceNumber": "12345",
          "StartReference": {},
          "TransporterInfo": {
            "MachineNumber": "12345",
            "Counter": 107
          },
          "Address": {
            "CountryName": "Belgium",
            "AddressLine": "Dumolinlaan 9, 8500 Kortrijk, BE",
            "PoiList": [
              "00000000-0000-0000-0000-000000000000",
              "00000000-0000-0000-0000-000000000000"
            ],
            "City": "Kortrijk",
            "CityLine": "8500 Kortrijk, BE",
            "CountryCode": 0,
            "HouseNumber": "9",
            "Latitude": 50.812939,
            "Longitude": 3.245304,
            "PostalCode": "8500",
            "ShortAddressLine": "Dumolinlaan 9, Kortrijk, BE",
            "Street": "Dumolinlaan",
            "StreetLine": "Dumolinlaan 9",
            "Submunicipality": "Kortrijk"
          }
        }
      ],
      "TransportTicketUserType": 0
    }
  ],
  "ValidationResult": [
    {
      "Message": "",
      "SourceMemberNames": []
    }
  ]
}
401Unauthorized
403Forbidden
429Too Many Requests