GET api/BourneBoardings?startdate={startdate}&enddate={enddate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
startdate

date

Required

enddate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BourneBoardings
NameDescriptionTypeAdditional information
id

integer

None.

VehicleNumber

integer

None.

EvStrName

string

Required

String length: inclusive between 0 and 50

Date

date

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Boardings

integer

None.

ActualDepartTime

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "VehicleNumber": 2,
    "EvStrName": "sample string 3",
    "Date": "2021-07-31T18:37:02.9334805-04:00",
    "Latitude": 5.0,
    "Longitude": 6.0,
    "Boardings": 7,
    "ActualDepartTime": 8
  },
  {
    "id": 1,
    "VehicleNumber": 2,
    "EvStrName": "sample string 3",
    "Date": "2021-07-31T18:37:02.9334805-04:00",
    "Latitude": 5.0,
    "Longitude": 6.0,
    "Boardings": 7,
    "ActualDepartTime": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfBourneBoardings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AVLWeb.Models">
  <BourneBoardings>
    <ActualDepartTime>8</ActualDepartTime>
    <Boardings>7</Boardings>
    <Date>2021-07-31T18:37:02.9334805-04:00</Date>
    <EvStrName>sample string 3</EvStrName>
    <Latitude>5</Latitude>
    <Longitude>6</Longitude>
    <VehicleNumber>2</VehicleNumber>
    <id>1</id>
  </BourneBoardings>
  <BourneBoardings>
    <ActualDepartTime>8</ActualDepartTime>
    <Boardings>7</Boardings>
    <Date>2021-07-31T18:37:02.9334805-04:00</Date>
    <EvStrName>sample string 3</EvStrName>
    <Latitude>5</Latitude>
    <Longitude>6</Longitude>
    <VehicleNumber>2</VehicleNumber>
    <id>1</id>
  </BourneBoardings>
</ArrayOfBourneBoardings>