POST api/GiptnRoute/GetWaybills

Get List of Waybills

Request Information

URI Parameters

None.

Body Parameters

WaybillRequest
NameDescriptionTypeAdditional information
VehicleId

integer

None.

DriverId

integer

None.

ScheduledDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleId": 1,
  "DriverId": 2,
  "ScheduledDate": "2025-12-11T05:29:36.7901487+02:00"
}

application/xml, text/xml

Sample:
<WaybillRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.GiptnRoute">
  <DriverId>2</DriverId>
  <ScheduledDate>2025-12-11T05:29:36.7901487+02:00</ScheduledDate>
  <VehicleId>1</VehicleId>
</WaybillRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WaybillRequest'.

Response Information

Resource Description

Collection of WaybillResult
NameDescriptionTypeAdditional information
WaybillId

integer

None.

WaybillName

string

None.

PlannedDepartureTime

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WaybillId": 1,
    "WaybillName": "sample string 2",
    "PlannedDepartureTime": "2025-12-11T05:29:36.7901487+02:00"
  },
  {
    "WaybillId": 1,
    "WaybillName": "sample string 2",
    "PlannedDepartureTime": "2025-12-11T05:29:36.7901487+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWaybillResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.GiptnRoute">
  <WaybillResult>
    <PlannedDepartureTime>2025-12-11T05:29:36.7901487+02:00</PlannedDepartureTime>
    <WaybillId>1</WaybillId>
    <WaybillName>sample string 2</WaybillName>
  </WaybillResult>
  <WaybillResult>
    <PlannedDepartureTime>2025-12-11T05:29:36.7901487+02:00</PlannedDepartureTime>
    <WaybillId>1</WaybillId>
    <WaybillName>sample string 2</WaybillName>
  </WaybillResult>
</ArrayOfWaybillResult>