GET v1/selReportWayBill

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deviceIDs

Масив ID авто

Collection of integer

Required

dateFrom

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

date

Required

dateTo

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

date

Required

mode

Режим звіту

ReportWayBillMode

Required

isNeedFuelSpendByNorm

boolean

None.

isUseTimeInEachDay

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

boolean

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ReportWayBill
NameDescriptionTypeAdditional information
id

ID маршрутного листа

integer

None.

wayBillID

ID маршрутного листа

integer

None.

deviceID

ID авто

integer

None.

dayOfWeek

Дні тижня

Collection of boolean

None.

name

Назва

string

None.

link

Назва

string

None.

no

№ маршрутного листа

string

None.

isUseTimeInEachDay

Ознака чи обмежено час в кожній добі

boolean

None.

actions

Події звіту

Collection of ReportWayBillAction

None.

dateFrom

Дата з

date

None.

dateTo

Дата по

date

None.

log

Collection of string

None.

isCache

boolean

None.

phone

string

None.

status

string

None.

driver

string

None.

pathDifferenceTotal

decimal number

None.

wayBillPath

Запланований кілометраж

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "wayBillID": 2,
    "deviceID": 3,
    "dayOfWeek": [
      true,
      true
    ],
    "name": "sample string 4",
    "link": "sample string 5",
    "no": "sample string 6",
    "isUseTimeInEachDay": true,
    "actions": [
      {
        "id": 1,
        "reportID": 2,
        "orderNo": 3,
        "onDate": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillID": 5,
        "name": "sample string 6",
        "dateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "dateTo": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateTo": "2026-06-10T07:13:02.6578508+03:00",
        "x": 1.1,
        "y": 1.1,
        "regionID": 1,
        "type": 1,
        "pathFromPrev": 7.1,
        "pathSummary": 8.1,
        "isFirstPointInRegion": true,
        "isLastPointInRegion": true,
        "isVisited": true,
        "fuelSpendBetweenRegions": 1.1,
        "fuelSpendTotal": 1.1,
        "wayBillDateFromFormatted": "7:13",
        "wayBillDateToFormatted": "7:13",
        "dateFromFormatted": "sample string 12",
        "dateToFormatted": "sample string 13",
        "isWayBillFromFailure": true,
        "isWayBillToFailure": true,
        "log": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "id": 1,
        "reportID": 2,
        "orderNo": 3,
        "onDate": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillID": 5,
        "name": "sample string 6",
        "dateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "dateTo": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateTo": "2026-06-10T07:13:02.6578508+03:00",
        "x": 1.1,
        "y": 1.1,
        "regionID": 1,
        "type": 1,
        "pathFromPrev": 7.1,
        "pathSummary": 8.1,
        "isFirstPointInRegion": true,
        "isLastPointInRegion": true,
        "isVisited": true,
        "fuelSpendBetweenRegions": 1.1,
        "fuelSpendTotal": 1.1,
        "wayBillDateFromFormatted": "7:13",
        "wayBillDateToFormatted": "7:13",
        "dateFromFormatted": "sample string 12",
        "dateToFormatted": "sample string 13",
        "isWayBillFromFailure": true,
        "isWayBillToFailure": true,
        "log": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "dateFrom": "2026-06-10T07:13:02.6578508+03:00",
    "dateTo": "2026-06-10T07:13:02.6578508+03:00",
    "log": [
      "sample string 1",
      "sample string 2"
    ],
    "isCache": true,
    "phone": "sample string 9",
    "status": "sample string 10",
    "driver": "sample string 11",
    "pathDifferenceTotal": 1.1,
    "wayBillPath": 1.1
  },
  {
    "id": 1,
    "wayBillID": 2,
    "deviceID": 3,
    "dayOfWeek": [
      true,
      true
    ],
    "name": "sample string 4",
    "link": "sample string 5",
    "no": "sample string 6",
    "isUseTimeInEachDay": true,
    "actions": [
      {
        "id": 1,
        "reportID": 2,
        "orderNo": 3,
        "onDate": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillID": 5,
        "name": "sample string 6",
        "dateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "dateTo": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateTo": "2026-06-10T07:13:02.6578508+03:00",
        "x": 1.1,
        "y": 1.1,
        "regionID": 1,
        "type": 1,
        "pathFromPrev": 7.1,
        "pathSummary": 8.1,
        "isFirstPointInRegion": true,
        "isLastPointInRegion": true,
        "isVisited": true,
        "fuelSpendBetweenRegions": 1.1,
        "fuelSpendTotal": 1.1,
        "wayBillDateFromFormatted": "7:13",
        "wayBillDateToFormatted": "7:13",
        "dateFromFormatted": "sample string 12",
        "dateToFormatted": "sample string 13",
        "isWayBillFromFailure": true,
        "isWayBillToFailure": true,
        "log": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "id": 1,
        "reportID": 2,
        "orderNo": 3,
        "onDate": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillID": 5,
        "name": "sample string 6",
        "dateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "dateTo": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateFrom": "2026-06-10T07:13:02.6578508+03:00",
        "wayBillDateTo": "2026-06-10T07:13:02.6578508+03:00",
        "x": 1.1,
        "y": 1.1,
        "regionID": 1,
        "type": 1,
        "pathFromPrev": 7.1,
        "pathSummary": 8.1,
        "isFirstPointInRegion": true,
        "isLastPointInRegion": true,
        "isVisited": true,
        "fuelSpendBetweenRegions": 1.1,
        "fuelSpendTotal": 1.1,
        "wayBillDateFromFormatted": "7:13",
        "wayBillDateToFormatted": "7:13",
        "dateFromFormatted": "sample string 12",
        "dateToFormatted": "sample string 13",
        "isWayBillFromFailure": true,
        "isWayBillToFailure": true,
        "log": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ],
    "dateFrom": "2026-06-10T07:13:02.6578508+03:00",
    "dateTo": "2026-06-10T07:13:02.6578508+03:00",
    "log": [
      "sample string 1",
      "sample string 2"
    ],
    "isCache": true,
    "phone": "sample string 9",
    "status": "sample string 10",
    "driver": "sample string 11",
    "pathDifferenceTotal": 1.1,
    "wayBillPath": 1.1
  }
]