DriverLogs


Service URLs:


JSON Response Example

[
  {
    "Id": 1,
    "DriverID": 1,
    "Driver": {
      "Id": 1,
      "LoginName": "StringValue",
      "DivisionId": 1,
      "FirstName": "StringValue",
      "LastName": "StringValue",
      "PhoneNo": "StringValue",
      "Email": "StringValue",
      "DriverGroupIds": [
        0
      ]
    },
    "TerminalId": 1,
    "AssetID": 1,
    "StatusID": 1,
    "Timestamp": "2019-02-21T12:19:49Z",
    "DriverStatus": "StringValue",
    "Status": null
  }
]

XML Response Example

<?xml version="1.0" encoding="utf-8"?>
<DriverLogs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trakopolis.Api.Entities">
  <DriverLog>
    <AssetDataID>1</AssetDataID>
    <AssetID>1</AssetID>
    <Driver>
      <DivisionId>1</DivisionId>
      <DriverGroupIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:long>0</d4p1:long>
      </DriverGroupIds>
      <Email>StringValue</Email>
      <FirstName>StringValue</FirstName>
      <Id>1</Id>
      <LastName>StringValue</LastName>
      <LoginName>StringValue</LoginName>
      <PhoneNo>StringValue</PhoneNo>
    </Driver>
    <DriverID>1</DriverID>
    <DriverStatus>StringValue</DriverStatus>
    <Id>1</Id>
    <Status i:nil="true" />
    <StatusID>1</StatusID>
    <TerminalId>1</TerminalId>
    <Timestamp>2019-02-21T12:19:49Z</Timestamp>
  </DriverLog>
</DriverLogs>