GET Tracking/Assets/LoadLastLocations?SessionId={SessionId}&CompanyId={CompanyId}&toDateStr={toDateStr}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

toDateStr

string

Required

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfAssetLastInformation
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of AssetLastInformation

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "assetStyle": {
        "iconPath": "sample string 1",
        "plateNumberBgColor": "sample string 2"
      },
      "asset": {
        "id": 1,
        "transporterId": 2,
        "plateNumber": "sample string 3",
        "loadCapacity": 4.1,
        "remark": "sample string 5",
        "noOfPallets": 6,
        "isDeleted": true,
        "highCargo": true,
        "adr": true,
        "ramp": true,
        "van": true,
        "trackedVehicleId": 12,
        "trackedActivationKey": 13,
        "garageId": 14,
        "priceListId": 15,
        "availableFromInSec": 16,
        "availableToInSec": 17,
        "iconPath": "sample string 18",
        "nfc": "sample string 19",
        "avgFuelConsumptionPer100KM": 20.1,
        "avgCostsPer100KM": 21.1,
        "startLocationId": 22,
        "stopLocationId": 23,
        "routePostalCodesId": 24,
        "routePostalCodes2Id": 25,
        "speedFactor": 26.1
      },
      "location": {
        "lng": 1.1,
        "lat": 2.1,
        "address": "sample string 3",
        "postCode": "sample string 4",
        "place": "sample string 5",
        "cc": "sample string 6",
        "date": "2025-04-23T23:26:18.4064638+02:00",
        "speed": 8
      },
      "driver": {
        "id": 1,
        "name": "sample string 2",
        "surname": "sample string 3"
      },
      "telemetry": {
        "odometer": 1.1,
        "rpm": 2,
        "fLevel": 3,
        "eTemp": 4,
        "speed": 5,
        "statusRGB": "sample string 6"
      },
      "tacho": null,
      "transport": {
        "id": 1,
        "code": "sample string 2",
        "fromDate": "2025-04-23T23:26:18.4064638+02:00",
        "toDate": "2025-04-23T23:26:18.4064638+02:00",
        "routeName": {
          "id": 1,
          "name": "sample string 2",
          "isDeleted": true
        },
        "transportCostsInEUR": 5.1,
        "transporterId": 6,
        "transporter": {
          "id": 1,
          "shortName": "sample string 2",
          "place": "sample string 3",
          "cc": "sample string 4",
          "vatNo": "sample string 5"
        },
        "transporterWorkerId": 7,
        "transporterWorker": {
          "id": 1,
          "transporterId": 2,
          "name": "sample string 3",
          "surname": "sample string 4",
          "fkey": "sample string 5",
          "gsm1": "sample string 6",
          "email": "sample string 7",
          "trak8WorkerId": 8,
          "nfc": "sample string 9"
        },
        "transporterAssetId": 8,
        "transporterAsset": {
          "id": 1,
          "transporterId": 2,
          "plateNumber": "sample string 3",
          "loadCapacity": 4.1,
          "remark": "sample string 5",
          "noOfPallets": 6,
          "isDeleted": true,
          "highCargo": true,
          "adr": true,
          "ramp": true,
          "van": true,
          "trackedVehicleId": 12,
          "trackedActivationKey": 13,
          "garageId": 14,
          "priceListId": 15,
          "availableFromInSec": 16,
          "availableToInSec": 17,
          "iconPath": "sample string 18",
          "nfc": "sample string 19",
          "avgFuelConsumptionPer100KM": 20.1,
          "avgCostsPer100KM": 21.1,
          "startLocationId": 22,
          "stopLocationId": 23,
          "routePostalCodesId": 24,
          "routePostalCodes2Id": 25,
          "speedFactor": 26.1
        },
        "fromLocationId": 9,
        "fromLocation": {
          "id": 1,
          "location": "sample string 2",
          "name": "sample string 3",
          "address": "sample string 4",
          "locality": "sample string 5",
          "postalCode": "sample string 6",
          "postalTown": "sample string 7",
          "country": "sample string 8",
          "longitude": 9.1,
          "latitude": 10.1,
          "isDeleted": true,
          "isGlobal": true
        },
        "toLocationId": 10,
        "toLocation": {
          "id": 1,
          "location": "sample string 2",
          "name": "sample string 3",
          "address": "sample string 4",
          "locality": "sample string 5",
          "postalCode": "sample string 6",
          "postalTown": "sample string 7",
          "country": "sample string 8",
          "longitude": 9.1,
          "latitude": 10.1,
          "isDeleted": true,
          "isGlobal": true
        },
        "statusId": 11,
        "pdsId": 12,
        "totalRouteInKM": 13.1,
        "totalPallets": 14.1,
        "totalDeliveries": 15,
        "transportTypeId": 16,
        "rDisponentId": 17,
        "deliveryRouteAsStr": "sample string 18",
        "routeFileURL": "sample string 19",
        "routeSeqFileURL": "sample string 20",
        "isEditMode": true,
        "firstTOIDate": "2025-04-23T23:26:18.4064638+02:00",
        "lastTOIDate": "2025-04-23T23:26:18.4064638+02:00",
        "navision": true,
        "dpnId": 25
      }
    },
    {
      "assetStyle": {
        "iconPath": "sample string 1",
        "plateNumberBgColor": "sample string 2"
      },
      "asset": {
        "id": 1,
        "transporterId": 2,
        "plateNumber": "sample string 3",
        "loadCapacity": 4.1,
        "remark": "sample string 5",
        "noOfPallets": 6,
        "isDeleted": true,
        "highCargo": true,
        "adr": true,
        "ramp": true,
        "van": true,
        "trackedVehicleId": 12,
        "trackedActivationKey": 13,
        "garageId": 14,
        "priceListId": 15,
        "availableFromInSec": 16,
        "availableToInSec": 17,
        "iconPath": "sample string 18",
        "nfc": "sample string 19",
        "avgFuelConsumptionPer100KM": 20.1,
        "avgCostsPer100KM": 21.1,
        "startLocationId": 22,
        "stopLocationId": 23,
        "routePostalCodesId": 24,
        "routePostalCodes2Id": 25,
        "speedFactor": 26.1
      },
      "location": {
        "lng": 1.1,
        "lat": 2.1,
        "address": "sample string 3",
        "postCode": "sample string 4",
        "place": "sample string 5",
        "cc": "sample string 6",
        "date": "2025-04-23T23:26:18.4064638+02:00",
        "speed": 8
      },
      "driver": {
        "id": 1,
        "name": "sample string 2",
        "surname": "sample string 3"
      },
      "telemetry": {
        "odometer": 1.1,
        "rpm": 2,
        "fLevel": 3,
        "eTemp": 4,
        "speed": 5,
        "statusRGB": "sample string 6"
      },
      "tacho": null,
      "transport": {
        "id": 1,
        "code": "sample string 2",
        "fromDate": "2025-04-23T23:26:18.4064638+02:00",
        "toDate": "2025-04-23T23:26:18.4064638+02:00",
        "routeName": {
          "id": 1,
          "name": "sample string 2",
          "isDeleted": true
        },
        "transportCostsInEUR": 5.1,
        "transporterId": 6,
        "transporter": {
          "id": 1,
          "shortName": "sample string 2",
          "place": "sample string 3",
          "cc": "sample string 4",
          "vatNo": "sample string 5"
        },
        "transporterWorkerId": 7,
        "transporterWorker": {
          "id": 1,
          "transporterId": 2,
          "name": "sample string 3",
          "surname": "sample string 4",
          "fkey": "sample string 5",
          "gsm1": "sample string 6",
          "email": "sample string 7",
          "trak8WorkerId": 8,
          "nfc": "sample string 9"
        },
        "transporterAssetId": 8,
        "transporterAsset": {
          "id": 1,
          "transporterId": 2,
          "plateNumber": "sample string 3",
          "loadCapacity": 4.1,
          "remark": "sample string 5",
          "noOfPallets": 6,
          "isDeleted": true,
          "highCargo": true,
          "adr": true,
          "ramp": true,
          "van": true,
          "trackedVehicleId": 12,
          "trackedActivationKey": 13,
          "garageId": 14,
          "priceListId": 15,
          "availableFromInSec": 16,
          "availableToInSec": 17,
          "iconPath": "sample string 18",
          "nfc": "sample string 19",
          "avgFuelConsumptionPer100KM": 20.1,
          "avgCostsPer100KM": 21.1,
          "startLocationId": 22,
          "stopLocationId": 23,
          "routePostalCodesId": 24,
          "routePostalCodes2Id": 25,
          "speedFactor": 26.1
        },
        "fromLocationId": 9,
        "fromLocation": {
          "id": 1,
          "location": "sample string 2",
          "name": "sample string 3",
          "address": "sample string 4",
          "locality": "sample string 5",
          "postalCode": "sample string 6",
          "postalTown": "sample string 7",
          "country": "sample string 8",
          "longitude": 9.1,
          "latitude": 10.1,
          "isDeleted": true,
          "isGlobal": true
        },
        "toLocationId": 10,
        "toLocation": {
          "id": 1,
          "location": "sample string 2",
          "name": "sample string 3",
          "address": "sample string 4",
          "locality": "sample string 5",
          "postalCode": "sample string 6",
          "postalTown": "sample string 7",
          "country": "sample string 8",
          "longitude": 9.1,
          "latitude": 10.1,
          "isDeleted": true,
          "isGlobal": true
        },
        "statusId": 11,
        "pdsId": 12,
        "totalRouteInKM": 13.1,
        "totalPallets": 14.1,
        "totalDeliveries": 15,
        "transportTypeId": 16,
        "rDisponentId": 17,
        "deliveryRouteAsStr": "sample string 18",
        "routeFileURL": "sample string 19",
        "routeSeqFileURL": "sample string 20",
        "isEditMode": true,
        "firstTOIDate": "2025-04-23T23:26:18.4064638+02:00",
        "lastTOIDate": "2025-04-23T23:26:18.4064638+02:00",
        "navision": true,
        "dpnId": 25
      }
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"assetStyle":{"iconPath":"sample string 1","plateNumberBgColor":"sample string 2"},"asset":{"id":1,"transporterId":2,"plateNumber":"sample string 3","loadCapacity":4.1,"remark":"sample string 5","noOfPallets":6,"isDeleted":true,"highCargo":true,"adr":true,"ramp":true,"van":true,"trackedVehicleId":12,"trackedActivationKey":13,"garageId":14,"priceListId":15,"availableFromInSec":16,"availableToInSec":17,"iconPath":"sample string 18","nfc":"sample string 19","avgFuelConsumptionPer100KM":20.1,"avgCostsPer100KM":21.1,"startLocationId":22,"stopLocationId":23,"routePostalCodesId":24,"routePostalCodes2Id":25,"speedFactor":26.1},"location":{"lng":1.1,"lat":2.1,"address":"sample string 3","postCode":"sample string 4","place":"sample string 5","cc":"sample string 6","date":"2025-04-23T23:26:18.4064638+02:00","speed":8},"driver":{"id":1,"name":"sample string 2","surname":"sample string 3"},"telemetry":{"odometer":1.1,"rpm":2,"fLevel":3,"eTemp":4,"speed":5,"statusRGB":"sample string 6"},"tacho":null,"transport":{"id":1,"code":"sample string 2","fromDate":"2025-04-23T23:26:18.4064638+02:00","toDate":"2025-04-23T23:26:18.4064638+02:00","routeName":{"id":1,"name":"sample string 2","isDeleted":true},"transportCostsInEUR":5.1,"transporterId":6,"transporter":{"id":1,"shortName":"sample string 2","place":"sample string 3","cc":"sample string 4","vatNo":"sample string 5"},"transporterWorkerId":7,"transporterWorker":{"id":1,"transporterId":2,"name":"sample string 3","surname":"sample string 4","fkey":"sample string 5","gsm1":"sample string 6","email":"sample string 7","trak8WorkerId":8,"nfc":"sample string 9"},"transporterAssetId":8,"transporterAsset":{"id":1,"transporterId":2,"plateNumber":"sample string 3","loadCapacity":4.1,"remark":"sample string 5","noOfPallets":6,"isDeleted":true,"highCargo":true,"adr":true,"ramp":true,"van":true,"trackedVehicleId":12,"trackedActivationKey":13,"garageId":14,"priceListId":15,"availableFromInSec":16,"availableToInSec":17,"iconPath":"sample string 18","nfc":"sample string 19","avgFuelConsumptionPer100KM":20.1,"avgCostsPer100KM":21.1,"startLocationId":22,"stopLocationId":23,"routePostalCodesId":24,"routePostalCodes2Id":25,"speedFactor":26.1},"fromLocationId":9,"fromLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"toLocationId":10,"toLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"statusId":11,"pdsId":12,"totalRouteInKM":13.1,"totalPallets":14.1,"totalDeliveries":15,"transportTypeId":16,"rDisponentId":17,"deliveryRouteAsStr":"sample string 18","routeFileURL":"sample string 19","routeSeqFileURL":"sample string 20","isEditMode":true,"firstTOIDate":"2025-04-23T23:26:18.4064638+02:00","lastTOIDate":"2025-04-23T23:26:18.4064638+02:00","navision":true,"dpnId":25}},{"assetStyle":{"iconPath":"sample string 1","plateNumberBgColor":"sample string 2"},"asset":{"id":1,"transporterId":2,"plateNumber":"sample string 3","loadCapacity":4.1,"remark":"sample string 5","noOfPallets":6,"isDeleted":true,"highCargo":true,"adr":true,"ramp":true,"van":true,"trackedVehicleId":12,"trackedActivationKey":13,"garageId":14,"priceListId":15,"availableFromInSec":16,"availableToInSec":17,"iconPath":"sample string 18","nfc":"sample string 19","avgFuelConsumptionPer100KM":20.1,"avgCostsPer100KM":21.1,"startLocationId":22,"stopLocationId":23,"routePostalCodesId":24,"routePostalCodes2Id":25,"speedFactor":26.1},"location":{"lng":1.1,"lat":2.1,"address":"sample string 3","postCode":"sample string 4","place":"sample string 5","cc":"sample string 6","date":"2025-04-23T23:26:18.4064638+02:00","speed":8},"driver":{"id":1,"name":"sample string 2","surname":"sample string 3"},"telemetry":{"odometer":1.1,"rpm":2,"fLevel":3,"eTemp":4,"speed":5,"statusRGB":"sample string 6"},"tacho":null,"transport":{"id":1,"code":"sample string 2","fromDate":"2025-04-23T23:26:18.4064638+02:00","toDate":"2025-04-23T23:26:18.4064638+02:00","routeName":{"id":1,"name":"sample string 2","isDeleted":true},"transportCostsInEUR":5.1,"transporterId":6,"transporter":{"id":1,"shortName":"sample string 2","place":"sample string 3","cc":"sample string 4","vatNo":"sample string 5"},"transporterWorkerId":7,"transporterWorker":{"id":1,"transporterId":2,"name":"sample string 3","surname":"sample string 4","fkey":"sample string 5","gsm1":"sample string 6","email":"sample string 7","trak8WorkerId":8,"nfc":"sample string 9"},"transporterAssetId":8,"transporterAsset":{"id":1,"transporterId":2,"plateNumber":"sample string 3","loadCapacity":4.1,"remark":"sample string 5","noOfPallets":6,"isDeleted":true,"highCargo":true,"adr":true,"ramp":true,"van":true,"trackedVehicleId":12,"trackedActivationKey":13,"garageId":14,"priceListId":15,"availableFromInSec":16,"availableToInSec":17,"iconPath":"sample string 18","nfc":"sample string 19","avgFuelConsumptionPer100KM":20.1,"avgCostsPer100KM":21.1,"startLocationId":22,"stopLocationId":23,"routePostalCodesId":24,"routePostalCodes2Id":25,"speedFactor":26.1},"fromLocationId":9,"fromLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"toLocationId":10,"toLocation":{"id":1,"location":"sample string 2","name":"sample string 3","address":"sample string 4","locality":"sample string 5","postalCode":"sample string 6","postalTown":"sample string 7","country":"sample string 8","longitude":9.1,"latitude":10.1,"isDeleted":true,"isGlobal":true},"statusId":11,"pdsId":12,"totalRouteInKM":13.1,"totalPallets":14.1,"totalDeliveries":15,"transportTypeId":16,"rDisponentId":17,"deliveryRouteAsStr":"sample string 18","routeFileURL":"sample string 19","routeSeqFileURL":"sample string 20","isEditMode":true,"firstTOIDate":"2025-04-23T23:26:18.4064638+02:00","lastTOIDate":"2025-04-23T23:26:18.4064638+02:00","navision":true,"dpnId":25}}],"errorCode":2,"error":"sample string 3","top":4}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'T8LSP_TrkAndTlmy.Tacho' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'T8LSP_TrkAndTlmy.Tacho' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

application/x-protobuf

Sample:

An exception has occurred while using the formatter 'ProtoBufFormatter' to generate sample for media type 'application/x-protobuf'. Exception message: Type is not expected, and no contract can be inferred: T8UtilityLib.KendoGridResponse`1[[T8LSP_TrkAndTlmy.AssetLastInformation, T8LSP_TrkAndTlmy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]