GET v1/selReportFuelInOut

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deviceIDs

Масив ID авто

Collection of integer

Required

dateFrom

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

date

Required

dateTo

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

date

Required

isUseTimeInEachDay

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

boolean

None.

isNeedFindRegions

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

boolean

None.

isNeedAddress

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

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ReportFuelInOut
NameDescriptionTypeAdditional information
id

ID звіту

integer

None.

orderNo

Порядковий номер

integer

None.

deviceID

ID

integer

None.

deviceName

Назва авто

string

None.

onDate

Дата

date

None.

fuelAdjust

Корегування

FuelAdjust

None.

fuelOnStart

decimal number

None.

fuelOnEnd

decimal number

None.

isApprovedFuelSpend

boolean

None.

isOutsideCalibration

boolean

None.

x

Координата X

decimal number

None.

y

Координата Y

decimal number

None.

cityName

Населений пункт

string

None.

address

Адреса

string

None.

fuelIn

integer

None.

fuelOut

integer

None.

fuelInFormatted

string

None.

fuelOutFormatted

string

None.

regionsFormatted

string

None.

regionIDs

Масив ID, Назва регіонів

Collection of Pair of integer [key] and string [value]

None.

isCache

boolean

None.

log

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "log": [
      "sample string 1",
      "sample string 2"
    ],
    "id": 1,
    "orderNo": 2,
    "deviceID": 3,
    "deviceName": "sample string 4",
    "onDate": "2026-06-10T07:10:29.8686629+03:00",
    "fuelAdjust": {
      "id": 1,
      "onDate": "2026-06-10T07:10:29.8686629+03:00",
      "value": 3,
      "sensorValue": 4,
      "deviceID": 5,
      "isChangeByOperator": true,
      "checkNo": "sample string 7",
      "type": 0,
      "isFlowingSensor": true
    },
    "fuelOnStart": 6.1,
    "fuelOnEnd": 7.1,
    "isApprovedFuelSpend": true,
    "isOutsideCalibration": true,
    "x": 10.1,
    "y": 11.1,
    "cityName": "sample string 12",
    "address": "sample string 13",
    "fuelIn": 1,
    "fuelOut": null,
    "fuelInFormatted": "1",
    "fuelOutFormatted": "",
    "regionsFormatted": "sample string 2, sample string 2",
    "regionIDs": [
      {
        "Key": 1,
        "Value": "sample string 2"
      },
      {
        "Key": 1,
        "Value": "sample string 2"
      }
    ],
    "isCache": true
  },
  {
    "log": [
      "sample string 1",
      "sample string 2"
    ],
    "id": 1,
    "orderNo": 2,
    "deviceID": 3,
    "deviceName": "sample string 4",
    "onDate": "2026-06-10T07:10:29.8686629+03:00",
    "fuelAdjust": {
      "id": 1,
      "onDate": "2026-06-10T07:10:29.8686629+03:00",
      "value": 3,
      "sensorValue": 4,
      "deviceID": 5,
      "isChangeByOperator": true,
      "checkNo": "sample string 7",
      "type": 0,
      "isFlowingSensor": true
    },
    "fuelOnStart": 6.1,
    "fuelOnEnd": 7.1,
    "isApprovedFuelSpend": true,
    "isOutsideCalibration": true,
    "x": 10.1,
    "y": 11.1,
    "cityName": "sample string 12",
    "address": "sample string 13",
    "fuelIn": 1,
    "fuelOut": null,
    "fuelInFormatted": "1",
    "fuelOutFormatted": "",
    "regionsFormatted": "sample string 2, sample string 2",
    "regionIDs": [
      {
        "Key": 1,
        "Value": "sample string 2"
      },
      {
        "Key": 1,
        "Value": "sample string 2"
      }
    ],
    "isCache": true
  }
]