GET api/ProvincetownBoardings?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 ProvincetownBoardings
NameDescriptionTypeAdditional information
id

integer

None.

VehicleNumber

string

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": "sample string 2",
    "EvStrName": "sample string 3",
    "Date": "2021-04-13T04:17:21.1824506-04:00",
    "Latitude": 5.0,
    "Longitude": 6.0,
    "Boardings": 7,
    "ActualDepartTime": 8
  },
  {
    "id": 1,
    "VehicleNumber": "sample string 2",
    "EvStrName": "sample string 3",
    "Date": "2021-04-13T04:17:21.1824506-04:00",
    "Latitude": 5.0,
    "Longitude": 6.0,
    "Boardings": 7,
    "ActualDepartTime": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfProvincetownBoardings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AVLWeb.Models">
  <ProvincetownBoardings>
    <ActualDepartTime>8</ActualDepartTime>
    <Boardings>7</Boardings>
    <Date>2021-04-13T04:17:21.1824506-04:00</Date>
    <EvStrName>sample string 3</EvStrName>
    <Latitude>5</Latitude>
    <Longitude>6</Longitude>
    <VehicleNumber>sample string 2</VehicleNumber>
    <id>1</id>
  </ProvincetownBoardings>
  <ProvincetownBoardings>
    <ActualDepartTime>8</ActualDepartTime>
    <Boardings>7</Boardings>
    <Date>2021-04-13T04:17:21.1824506-04:00</Date>
    <EvStrName>sample string 3</EvStrName>
    <Latitude>5</Latitude>
    <Longitude>6</Longitude>
    <VehicleNumber>sample string 2</VehicleNumber>
    <id>1</id>
  </ProvincetownBoardings>
</ArrayOfProvincetownBoardings>