GET api/TrackingObjects/{id}/FuelReport?From={From}&To={To}&defueling={defueling}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

From

date

None.

To

date

None.

defueling

boolean

Default value is True

Body Parameters

None.

Response Information

Resource Description

FuelReport
NameDescriptionTypeAdditional information
FuelUsed

decimal number

None.

Events

Collection of EventFuel

None.

TimeChartData

Collection of TimeChartData

None.

DistanceChartData

Collection of ChartData

None.

Response Formats

application/json, text/json

Sample:
{
  "FuelUsed": 1.1,
  "Events": [
    {
      "$id": "2",
      "Fuel": 2.0,
      "Description": "2 l",
      "Method": 1,
      "FuelCardRecord": true,
      "Place": "sample string 3",
      "EventEndDate": "2026-02-02T19:50:28.8749588+01:00",
      "EventDate": "2026-02-02T19:50:28.8749588+01:00",
      "EventType": 0,
      "Location": {
        "$id": "3",
        "Latitude": 1.1,
        "Longitude": 2.1,
        "AreaName": "sample string 2, sample string 2"
      },
      "TrackingObject": {
        "$id": "4",
        "TrackingObjectId": 1,
        "TrackingObjectName": "sample string 2",
        "Company": {
          "$id": "5",
          "CompanyId": 1,
          "CompanyName": "sample string 2",
          "CompanyUrl": "sample string 3",
          "LogoUrl": "sample string 4",
          "IsActive": true
        },
        "Device": {
          "$id": "6",
          "DeviceId": 1,
          "SenderId": "sample string 2",
          "InstalledSIMCard": {
            "$id": "7",
            "SIMCardId": 1,
            "SerialNumber": "sample string 2",
            "AddressIP": "sample string 3",
            "PIN": "sample string 4",
            "PUK": "sample string 5",
            "PhoneNumber": "sample string 6",
            "ActivationDate": "2026-02-02T19:50:28.8749588+01:00",
            "ExpirationDate": "2026-02-02T19:50:28.8749588+01:00",
            "Device": {
              "$ref": "6"
            }
          },
          "Model": "sample string 3",
          "SerialNumber": "sample string 5",
          "IsActive": true,
          "CAN": true,
          "DeviceFeatures": 1,
          "DeviceType": 0,
          "TrackingObject": {
            "$ref": "4"
          }
        },
        "Driver": {
          "$id": "8",
          "UserId": 1,
          "DriverId": "sample string 2",
          "Login": "sample string 3",
          "FirstName": "sample string 4",
          "LastName": "sample string 5",
          "Company": {
            "$ref": "5"
          },
          "Creator": {
            "$ref": "8"
          },
          "Calendar": {
            "$id": "9",
            "CalendarId": 1,
            "CalendarName": "sample string 2"
          },
          "EmailAddress": "sample string 7",
          "PhoneNumber": "sample string 8",
          "TrackingObjectGroups": [
            {
              "$id": "10",
              "TrackingObjectGroupId": 1,
              "TrackingObjectGroupName": "sample string 2",
              "Description": "sample string 3",
              "Company": {
                "$ref": "5"
              },
              "Users": [
                {
                  "$ref": "8"
                },
                {
                  "$ref": "8"
                }
              ],
              "TrackingObjects": [
                {
                  "$ref": "4"
                },
                {
                  "$ref": "4"
                }
              ],
              "GroupSenderId": "sample string 4"
            },
            {
              "$ref": "10"
            }
          ],
          "Role": 1,
          "IsActive": true,
          "UserGroup": {
            "$id": "11",
            "UserGroupId": 1,
            "UserGroupName": "sample string 2",
            "Users": [
              {
                "$ref": "8"
              },
              {
                "$ref": "8"
              }
            ]
          },
          "Messages": [
            {
              "$id": "12",
              "MessageId": 1,
              "IsRead": true,
              "Content": "sample string 3",
              "Location": {
                "$ref": "3"
              },
              "Recipient": {
                "$ref": "8"
              },
              "IsHighPriority": true,
              "SentDate": "2026-02-02T19:50:28.8905701+01:00"
            },
            {
              "$ref": "12"
            }
          ],
          "NotificationType": 1,
          "NotificationSound": 0,
          "TrackingObject": {
            "$ref": "4"
          },
          "Metadata": {
            "$id": "13",
            "LoginSuccessful": "2026-02-02T19:50:28.8905701+01:00",
            "LoginFailed": "2026-02-02T19:50:28.8905701+01:00"
          }
        },
        "TrackingObjectGroups": [
          {
            "$ref": "10"
          },
          {
            "$ref": "10"
          }
        ],
        "IsActive": true,
        "Note": "sample string 4",
        "Tank": {
          "$id": "14",
          "TankId": 1,
          "TankName": "sample string 2",
          "Capacity": 3,
          "Ratio": 64,
          "Threshold": 5.1,
          "Lag": 6,
          "Measures": [
            {
              "$id": "15",
              "MeasureId": 1,
              "Input": 2.1,
              "Output": 3.1
            },
            {
              "$ref": "15"
            }
          ],
          "Inputs": [
            {
              "$id": "16",
              "TankInputId": 1,
              "AnalogInput": 2,
              "Coefficient": 3.1,
              "InputIndex": 1
            },
            {
              "$ref": "16"
            }
          ],
          "ToleranceDefueling": 7.1,
          "ToleranceFuelLevel": 8.1,
          "InputIndex": 9,
          "IsIgnoreEngineStatus": true
        },
        "TankDate": "2026-02-02T19:50:28.8905701+01:00",
        "RegistrationNumber": "sample string 5",
        "MakeModel": "sample string 7 sample string 6",
        "Model": "sample string 6",
        "Manufacturer": "sample string 7",
        "InitialOdometerValue": 1,
        "ReportsOdometer": true,
        "SpeedLimit": 1,
        "ReferenceFuelConsumption": 1.1,
        "MaxRPM": 1,
        "VIN": "sample string 9",
        "TrackingObjectType": 0,
        "FuelType": 0,
        "Sensors": [
          {
            "$id": "17",
            "SensorId": 1,
            "SensorName": "sample string 2",
            "SensorType": 0,
            "SensorOutputType": 0,
            "FunctionCode": "sample string 3",
            "Order": 64,
            "Mask": "sample string 5",
            "Visible": true,
            "Value": {
              "$id": "18"
            }
          },
          {
            "$ref": "17"
          }
        ],
        "HasLocationData": true,
        "Logbook": true
      },
      "Driver": {
        "$ref": "8"
      }
    },
    {
      "$ref": "2"
    }
  ],
  "TimeChartData": [
    {
      "$id": "19",
      "Series": "sample string 1",
      "Argument": "2026-02-02T19:50:28.8905701+01:00",
      "Value": 3.1
    },
    {
      "$ref": "19"
    }
  ],
  "DistanceChartData": [
    {
      "$id": "20",
      "Series": "sample string 1",
      "Argument": 2.1,
      "Value": 3.1,
      "Hint": {
        "$id": "21"
      }
    },
    {
      "$ref": "20"
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.