GET Tracking/Activities/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}&transporterAssetId={transporterAssetId}&fromDateStr={fromDateStr}&toDateStr={toDateStr}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

transporterAssetId

integer

Required

fromDateStr

string

Required

toDateStr

string

Required

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfTrackingActivityRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of TrackingActivityRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "id": 1,
      "plateNumber": "sample string 2",
      "vehicleId": 3,
      "activityType": 4,
      "fromTime": "2025-04-24T10:00:13.3015011+02:00",
      "fromTimeTicksInUx": 6,
      "toTime": "2025-04-24T10:00:13.3015011+02:00",
      "toTimeTicksInUx": 8,
      "eventDurationInSec": 9,
      "partnerId": 10,
      "partnerName": "sample string 11",
      "partnerDistanceInM": 12,
      "fromLongitude": 13.1,
      "fromLatitude": 14.1,
      "toLongitude": 15.1,
      "toLatitude": 16.1,
      "traveledDistance": 17,
      "place": "sample string 18",
      "address": "sample string 19",
      "postalCode": "sample string 20",
      "cc": "sample string 21",
      "geoDistanceInM": 22,
      "poiId": 23,
      "poiName": "sample string 24",
      "poiDistanceInM": 25,
      "maxSpeed": 26,
      "minSpeed": 27,
      "averageSpeed": 28
    },
    {
      "id": 1,
      "plateNumber": "sample string 2",
      "vehicleId": 3,
      "activityType": 4,
      "fromTime": "2025-04-24T10:00:13.3015011+02:00",
      "fromTimeTicksInUx": 6,
      "toTime": "2025-04-24T10:00:13.3015011+02:00",
      "toTimeTicksInUx": 8,
      "eventDurationInSec": 9,
      "partnerId": 10,
      "partnerName": "sample string 11",
      "partnerDistanceInM": 12,
      "fromLongitude": 13.1,
      "fromLatitude": 14.1,
      "toLongitude": 15.1,
      "toLatitude": 16.1,
      "traveledDistance": 17,
      "place": "sample string 18",
      "address": "sample string 19",
      "postalCode": "sample string 20",
      "cc": "sample string 21",
      "geoDistanceInM": 22,
      "poiId": 23,
      "poiName": "sample string 24",
      "poiDistanceInM": 25,
      "maxSpeed": 26,
      "minSpeed": 27,
      "averageSpeed": 28
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"id":1,"plateNumber":"sample string 2","vehicleId":3,"activityType":4,"fromTime":"2025-04-24T10:00:13.3015011+02:00","fromTimeTicksInUx":6,"toTime":"2025-04-24T10:00:13.3015011+02:00","toTimeTicksInUx":8,"eventDurationInSec":9,"partnerId":10,"partnerName":"sample string 11","partnerDistanceInM":12,"fromLongitude":13.1,"fromLatitude":14.1,"toLongitude":15.1,"toLatitude":16.1,"traveledDistance":17,"place":"sample string 18","address":"sample string 19","postalCode":"sample string 20","cc":"sample string 21","geoDistanceInM":22,"poiId":23,"poiName":"sample string 24","poiDistanceInM":25,"maxSpeed":26,"minSpeed":27,"averageSpeed":28},{"id":1,"plateNumber":"sample string 2","vehicleId":3,"activityType":4,"fromTime":"2025-04-24T10:00:13.3015011+02:00","fromTimeTicksInUx":6,"toTime":"2025-04-24T10:00:13.3015011+02:00","toTimeTicksInUx":8,"eventDurationInSec":9,"partnerId":10,"partnerName":"sample string 11","partnerDistanceInM":12,"fromLongitude":13.1,"fromLatitude":14.1,"toLongitude":15.1,"toLatitude":16.1,"traveledDistance":17,"place":"sample string 18","address":"sample string 19","postalCode":"sample string 20","cc":"sample string 21","geoDistanceInM":22,"poiId":23,"poiName":"sample string 24","poiDistanceInM":25,"maxSpeed":26,"minSpeed":27,"averageSpeed":28}],"errorCode":2,"error":"sample string 3","top":4}

application/xml, text/xml

Sample:
<KendoGridResponseOfTrackingActivityRecordx0LELiE_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/T8UtilityLib">
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/T8LSP_TrkAndTlmy.Tracking">
    <d2p1:TrackingActivityRecord>
      <d2p1:CC>sample string 21</d2p1:CC>
      <d2p1:activityType>4</d2p1:activityType>
      <d2p1:address>sample string 19</d2p1:address>
      <d2p1:averageSpeed>28</d2p1:averageSpeed>
      <d2p1:eventDurationInSec>9</d2p1:eventDurationInSec>
      <d2p1:fromLatitude>14.1</d2p1:fromLatitude>
      <d2p1:fromLongitude>13.1</d2p1:fromLongitude>
      <d2p1:fromTime>2025-04-24T10:00:13.3015011+02:00</d2p1:fromTime>
      <d2p1:fromTimeTicksInUx>6</d2p1:fromTimeTicksInUx>
      <d2p1:geoDistanceInM>22</d2p1:geoDistanceInM>
      <d2p1:id>1</d2p1:id>
      <d2p1:maxSpeed>26</d2p1:maxSpeed>
      <d2p1:minSpeed>27</d2p1:minSpeed>
      <d2p1:partnerDistanceInM>12</d2p1:partnerDistanceInM>
      <d2p1:partnerId>10</d2p1:partnerId>
      <d2p1:partnerName>sample string 11</d2p1:partnerName>
      <d2p1:place>sample string 18</d2p1:place>
      <d2p1:plateNumber>sample string 2</d2p1:plateNumber>
      <d2p1:poiDistanceInM>25</d2p1:poiDistanceInM>
      <d2p1:poiId>23</d2p1:poiId>
      <d2p1:poiName>sample string 24</d2p1:poiName>
      <d2p1:postalCode>sample string 20</d2p1:postalCode>
      <d2p1:toLatitude>16.1</d2p1:toLatitude>
      <d2p1:toLongitude>15.1</d2p1:toLongitude>
      <d2p1:toTime>2025-04-24T10:00:13.3015011+02:00</d2p1:toTime>
      <d2p1:toTimeTicksInUx>8</d2p1:toTimeTicksInUx>
      <d2p1:traveledDistance>17</d2p1:traveledDistance>
      <d2p1:vehicleId>3</d2p1:vehicleId>
    </d2p1:TrackingActivityRecord>
    <d2p1:TrackingActivityRecord>
      <d2p1:CC>sample string 21</d2p1:CC>
      <d2p1:activityType>4</d2p1:activityType>
      <d2p1:address>sample string 19</d2p1:address>
      <d2p1:averageSpeed>28</d2p1:averageSpeed>
      <d2p1:eventDurationInSec>9</d2p1:eventDurationInSec>
      <d2p1:fromLatitude>14.1</d2p1:fromLatitude>
      <d2p1:fromLongitude>13.1</d2p1:fromLongitude>
      <d2p1:fromTime>2025-04-24T10:00:13.3015011+02:00</d2p1:fromTime>
      <d2p1:fromTimeTicksInUx>6</d2p1:fromTimeTicksInUx>
      <d2p1:geoDistanceInM>22</d2p1:geoDistanceInM>
      <d2p1:id>1</d2p1:id>
      <d2p1:maxSpeed>26</d2p1:maxSpeed>
      <d2p1:minSpeed>27</d2p1:minSpeed>
      <d2p1:partnerDistanceInM>12</d2p1:partnerDistanceInM>
      <d2p1:partnerId>10</d2p1:partnerId>
      <d2p1:partnerName>sample string 11</d2p1:partnerName>
      <d2p1:place>sample string 18</d2p1:place>
      <d2p1:plateNumber>sample string 2</d2p1:plateNumber>
      <d2p1:poiDistanceInM>25</d2p1:poiDistanceInM>
      <d2p1:poiId>23</d2p1:poiId>
      <d2p1:poiName>sample string 24</d2p1:poiName>
      <d2p1:postalCode>sample string 20</d2p1:postalCode>
      <d2p1:toLatitude>16.1</d2p1:toLatitude>
      <d2p1:toLongitude>15.1</d2p1:toLongitude>
      <d2p1:toTime>2025-04-24T10:00:13.3015011+02:00</d2p1:toTime>
      <d2p1:toTimeTicksInUx>8</d2p1:toTimeTicksInUx>
      <d2p1:traveledDistance>17</d2p1:traveledDistance>
      <d2p1:vehicleId>3</d2p1:vehicleId>
    </d2p1:TrackingActivityRecord>
  </data>
  <error>sample string 3</error>
  <errorCode>2</errorCode>
  <top>4</top>
  <total>1</total>
</KendoGridResponseOfTrackingActivityRecordx0LELiE_P>

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.Tracking.TrackingActivityRecord, T8LSP_TrkAndTlmy, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]