GET Vehicle/Tracking/LoadAll?SessionId={SessionId}&CompanyId={CompanyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SessionId

string

None.

CompanyId

integer

None.

Body Parameters

None.

Response Information

Resource Description

KendoGridResponseOfTrak8_VehicleRecord
NameDescriptionTypeAdditional information
total

integer

None.

data

Collection of Trak8_VehicleRecord

None.

errorCode

integer

None.

error

string

None.

top

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "total": 1,
  "data": [
    {
      "id": 1,
      "vehicleId": 2,
      "activationKey": 3,
      "plateNumber": "sample string 4",
      "originalPlateNumber": "sample string 5",
      "brand": "sample string 6",
      "description": "sample string 7",
      "type": "sample string 8",
      "label": "sample string 9",
      "sharedVehicleId": 10
    },
    {
      "id": 1,
      "vehicleId": 2,
      "activationKey": 3,
      "plateNumber": "sample string 4",
      "originalPlateNumber": "sample string 5",
      "brand": "sample string 6",
      "description": "sample string 7",
      "type": "sample string 8",
      "label": "sample string 9",
      "sharedVehicleId": 10
    }
  ],
  "errorCode": 2,
  "error": "sample string 3",
  "top": 4
}

text/javascript

Sample:
{"total":1,"data":[{"id":1,"vehicleId":2,"activationKey":3,"plateNumber":"sample string 4","originalPlateNumber":"sample string 5","brand":"sample string 6","description":"sample string 7","type":"sample string 8","label":"sample string 9","sharedVehicleId":10},{"id":1,"vehicleId":2,"activationKey":3,"plateNumber":"sample string 4","originalPlateNumber":"sample string 5","brand":"sample string 6","description":"sample string 7","type":"sample string 8","label":"sample string 9","sharedVehicleId":10}],"errorCode":2,"error":"sample string 3","top":4}

application/xml, text/xml

Sample:
<KendoGridResponseOfTrak8_VehicleRecordeZ0Y7IyA 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_Register.Model">
    <d2p1:Trak8_VehicleRecord>
      <d2p1:ActivationKey>3</d2p1:ActivationKey>
      <d2p1:Brand>sample string 6</d2p1:Brand>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Label>sample string 9</d2p1:Label>
      <d2p1:OriginalPlateNumber>sample string 5</d2p1:OriginalPlateNumber>
      <d2p1:PlateNumber>sample string 4</d2p1:PlateNumber>
      <d2p1:SharedVehicleId>10</d2p1:SharedVehicleId>
      <d2p1:Type>sample string 8</d2p1:Type>
      <d2p1:VehicleId>2</d2p1:VehicleId>
    </d2p1:Trak8_VehicleRecord>
    <d2p1:Trak8_VehicleRecord>
      <d2p1:ActivationKey>3</d2p1:ActivationKey>
      <d2p1:Brand>sample string 6</d2p1:Brand>
      <d2p1:Description>sample string 7</d2p1:Description>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Label>sample string 9</d2p1:Label>
      <d2p1:OriginalPlateNumber>sample string 5</d2p1:OriginalPlateNumber>
      <d2p1:PlateNumber>sample string 4</d2p1:PlateNumber>
      <d2p1:SharedVehicleId>10</d2p1:SharedVehicleId>
      <d2p1:Type>sample string 8</d2p1:Type>
      <d2p1:VehicleId>2</d2p1:VehicleId>
    </d2p1:Trak8_VehicleRecord>
  </data>
  <error>sample string 3</error>
  <errorCode>2</errorCode>
  <top>4</top>
  <total>1</total>
</KendoGridResponseOfTrak8_VehicleRecordeZ0Y7IyA>

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_Register.Model.Trak8_VehicleRecord, T8LSP_Register, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]