GET v1/selReportCommons

Метод який обраховує звіт "Загальний".

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deviceIDs

Масив ID авто

Collection of integer

Required

dateFrom

Дата початку періоду розрахунків (у форматі ISO)

date

Required

dateTo

Дата закінчення періоду розрахунків (у форматі ISO)

date

Required

isNeedFuelSpendByFlowingSensor

Ознака чи потрібно рахувати витрати пального за проточним датчиком

boolean

None.

isNeedFuelSpendByNorm

Ознака чи потрібно рахувати витрати пального за нормами

boolean

None.

isNeedFindRegions

Ознака чи потрібно шукати регіон

boolean

None.

isUseTimeInEachDay

Ознака чи враховувати обмеження по часі в кожен день періоду

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ReportCommons
NameDescriptionTypeAdditional information
id

ID

integer

None.

deviceID

ID авто

integer

None.

deviceIDEncrypted

ID авто вер.2

string

None.

deviceName

Назва авто

string

None.

onDate

date

None.

dateFrom

date

None.

dateTo

date

None.

duration

decimal number

None.

distance

decimal number

None.

fuelSpendOn1Km

Витрати пального на 1 км шляху

decimal number

None.

fuelSpendOn100Km

Витрати пального на 100 км шляху

decimal number

None.

fuelSpendOn1Minute

Витрати пального за 1 хв.

decimal number

None.

fuelSpendByFlowingSensor

Витрати пального

decimal number

None.

isApprovedFuelSpendBySensor

Ознака чи затверджено пальне за датчиком

boolean

None.

isApprovedFuelSpendByNorm

Ознака чи затверджено пальне за нормою

boolean

None.

fuelSpendByNorm

decimal number

None.

fuelSpendByNormFormatted

Object

None.

speedAverage

integer

None.

speedMax

integer

None.

isOperatorConnect

boolean

None.

isCache

boolean

None.

fuelIn

integer

None.

fuelInFormatted

string

None.

fuelOut

integer

None.

fuelOutFormatted

string

None.

onDateMarker

date

None.

log

Collection of string

None.

regions

Collection of string

None.

regionsFormatted

string

None.

fuelInAdjust

FuelAdjust

None.

fuelOutAdjust

FuelAdjust

None.

actionsFormatted

string

None.

actions

Події звіту

Collection of ReportCommonsAction

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "deviceID": 2,
    "deviceIDEncrypted": "sample string 3",
    "deviceName": "sample string 4",
    "onDate": "2026-06-10T00:00:00+03:00",
    "dateFrom": "2026-06-10T07:09:00.3008482+03:00",
    "dateTo": "2026-06-10T07:09:00.3008482+03:00",
    "duration": 0.0,
    "distance": 1.1,
    "fuelSpendOn1Km": 1.1,
    "fuelSpendOn100Km": 1.1,
    "fuelSpendOn1Minute": 1.1,
    "fuelSpendByFlowingSensor": 1.1,
    "isApprovedFuelSpendBySensor": true,
    "isApprovedFuelSpendByNorm": true,
    "fuelSpendByNorm": null,
    "fuelSpendByNormFormatted": null,
    "speedAverage": null,
    "speedMax": null,
    "isOperatorConnect": true,
    "isCache": true,
    "fuelIn": null,
    "fuelInFormatted": "",
    "fuelOut": null,
    "fuelOutFormatted": "",
    "onDateMarker": "2026-06-10T07:09:00.3008482+03:00",
    "log": [
      "sample string 1",
      "sample string 2"
    ],
    "regions": [
      "sample string 2"
    ],
    "regionsFormatted": "sample string 2",
    "fuelInAdjust": null,
    "fuelOutAdjust": null,
    "actionsFormatted": "Простій (12); Простій (12)",
    "actions": [
      {
        "dateFrom": "2026-06-10T07:09:53.3008482+03:00",
        "dateTo": "2026-06-10T07:09:53.3008482+03:00",
        "duration": 0,
        "type": 0,
        "name": "Простій (12)",
        "iButtonDescription": "sample string 3",
        "iButtonID": 4,
        "regionIDs": [
          {
            "Key": 1,
            "Value": "sample string 2"
          },
          {
            "Key": 1,
            "Value": "sample string 2"
          }
        ],
        "orderNo": 5,
        "distance": 1.1,
        "speedAverage": 1,
        "speedMax": 1,
        "fuelSpendByNorm": 1.1,
        "fuelIn": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelOut": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelInFormatted": "1",
        "fuelOutFormatted": "1",
        "iButtonKey": "sample string 6",
        "voltageMax": 7.1,
        "voltageMin": 8.1,
        "isApprovedFuelSpendBySensor": true,
        "isApprovedFuelSpendByNorm": true,
        "filteredActionsCount": 11,
        "isVirtual": true,
        "isOneTimeAction": false,
        "points": [
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          },
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          }
        ],
        "isOperatorConnect": true,
        "xFrom": 4.1,
        "yFrom": 5.1,
        "xTo": 4.1,
        "yTo": 5.1,
        "fuelFormatted": ""
      },
      {
        "dateFrom": "2026-06-10T07:09:53.3008482+03:00",
        "dateTo": "2026-06-10T07:09:53.3008482+03:00",
        "duration": 0,
        "type": 0,
        "name": "Простій (12)",
        "iButtonDescription": "sample string 3",
        "iButtonID": 4,
        "regionIDs": [
          {
            "Key": 1,
            "Value": "sample string 2"
          },
          {
            "Key": 1,
            "Value": "sample string 2"
          }
        ],
        "orderNo": 5,
        "distance": 1.1,
        "speedAverage": 1,
        "speedMax": 1,
        "fuelSpendByNorm": 1.1,
        "fuelIn": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelOut": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelInFormatted": "1",
        "fuelOutFormatted": "1",
        "iButtonKey": "sample string 6",
        "voltageMax": 7.1,
        "voltageMin": 8.1,
        "isApprovedFuelSpendBySensor": true,
        "isApprovedFuelSpendByNorm": true,
        "filteredActionsCount": 11,
        "isVirtual": true,
        "isOneTimeAction": false,
        "points": [
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          },
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          }
        ],
        "isOperatorConnect": true,
        "xFrom": 4.1,
        "yFrom": 5.1,
        "xTo": 4.1,
        "yTo": 5.1,
        "fuelFormatted": ""
      }
    ]
  },
  {
    "id": 1,
    "deviceID": 2,
    "deviceIDEncrypted": "sample string 3",
    "deviceName": "sample string 4",
    "onDate": "2026-06-10T00:00:00+03:00",
    "dateFrom": "2026-06-10T07:09:00.3008482+03:00",
    "dateTo": "2026-06-10T07:09:00.3008482+03:00",
    "duration": 0.0,
    "distance": 1.1,
    "fuelSpendOn1Km": 1.1,
    "fuelSpendOn100Km": 1.1,
    "fuelSpendOn1Minute": 1.1,
    "fuelSpendByFlowingSensor": 1.1,
    "isApprovedFuelSpendBySensor": true,
    "isApprovedFuelSpendByNorm": true,
    "fuelSpendByNorm": null,
    "fuelSpendByNormFormatted": null,
    "speedAverage": null,
    "speedMax": null,
    "isOperatorConnect": true,
    "isCache": true,
    "fuelIn": null,
    "fuelInFormatted": "",
    "fuelOut": null,
    "fuelOutFormatted": "",
    "onDateMarker": "2026-06-10T07:09:00.3008482+03:00",
    "log": [
      "sample string 1",
      "sample string 2"
    ],
    "regions": [
      "sample string 2"
    ],
    "regionsFormatted": "sample string 2",
    "fuelInAdjust": null,
    "fuelOutAdjust": null,
    "actionsFormatted": "Простій (12); Простій (12)",
    "actions": [
      {
        "dateFrom": "2026-06-10T07:09:53.3008482+03:00",
        "dateTo": "2026-06-10T07:09:53.3008482+03:00",
        "duration": 0,
        "type": 0,
        "name": "Простій (12)",
        "iButtonDescription": "sample string 3",
        "iButtonID": 4,
        "regionIDs": [
          {
            "Key": 1,
            "Value": "sample string 2"
          },
          {
            "Key": 1,
            "Value": "sample string 2"
          }
        ],
        "orderNo": 5,
        "distance": 1.1,
        "speedAverage": 1,
        "speedMax": 1,
        "fuelSpendByNorm": 1.1,
        "fuelIn": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelOut": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelInFormatted": "1",
        "fuelOutFormatted": "1",
        "iButtonKey": "sample string 6",
        "voltageMax": 7.1,
        "voltageMin": 8.1,
        "isApprovedFuelSpendBySensor": true,
        "isApprovedFuelSpendByNorm": true,
        "filteredActionsCount": 11,
        "isVirtual": true,
        "isOneTimeAction": false,
        "points": [
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          },
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          }
        ],
        "isOperatorConnect": true,
        "xFrom": 4.1,
        "yFrom": 5.1,
        "xTo": 4.1,
        "yTo": 5.1,
        "fuelFormatted": ""
      },
      {
        "dateFrom": "2026-06-10T07:09:53.3008482+03:00",
        "dateTo": "2026-06-10T07:09:53.3008482+03:00",
        "duration": 0,
        "type": 0,
        "name": "Простій (12)",
        "iButtonDescription": "sample string 3",
        "iButtonID": 4,
        "regionIDs": [
          {
            "Key": 1,
            "Value": "sample string 2"
          },
          {
            "Key": 1,
            "Value": "sample string 2"
          }
        ],
        "orderNo": 5,
        "distance": 1.1,
        "speedAverage": 1,
        "speedMax": 1,
        "fuelSpendByNorm": 1.1,
        "fuelIn": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelOut": {
          "id": 1,
          "onDate": "2026-06-10T07:09:53.3008482+03:00",
          "fuelOnStart": 3.1,
          "fuelOnEnd": 4.1,
          "fuelIn": 1,
          "fuelOut": null,
          "fuelAdjust": {
            "id": 1,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "value": 3,
            "sensorValue": 4,
            "deviceID": 5,
            "isChangeByOperator": true,
            "checkNo": "sample string 7",
            "type": 0,
            "isFlowingSensor": true
          },
          "x": 7.1,
          "y": 8.1,
          "isOutsideCalibration": true
        },
        "fuelInFormatted": "1",
        "fuelOutFormatted": "1",
        "iButtonKey": "sample string 6",
        "voltageMax": 7.1,
        "voltageMin": 8.1,
        "isApprovedFuelSpendBySensor": true,
        "isApprovedFuelSpendByNorm": true,
        "filteredActionsCount": 11,
        "isVirtual": true,
        "isOneTimeAction": false,
        "points": [
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          },
          {
            "id": 1,
            "deviceID": 2,
            "onDate": "2026-06-10T07:09:53.3008482+03:00",
            "lng": 4.1,
            "lat": 5.1,
            "speed": 6,
            "satellites": 7,
            "distance": 8.1,
            "regionID": 14,
            "regionName": "sample string 15",
            "IsIgnition": true
          }
        ],
        "isOperatorConnect": true,
        "xFrom": 4.1,
        "yFrom": 5.1,
        "xTo": 4.1,
        "yTo": 5.1,
        "fuelFormatted": ""
      }
    ]
  }
]