GET api/Ridership/GetRidershipSummaryByCompany?CompanyID={CompanyID}&StartDate={StartDate}&EndDate={EndDate}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyID

integer

Required

StartDate

date

Required

EndDate

date

Required

Body Parameters

None.

Response Information

Resource Description

Collection of RidershipSummaryRequest
NameDescriptionTypeAdditional information
vchDescripcion

string

None.

Rides

integer

None.

Pass

integer

None.

Cash

decimal number

None.

Transfer

integer

None.

Insufficient_Funds

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "vchDescripcion": "sample string 1",
    "Rides": 2,
    "Pass": 3,
    "Cash": 4.1,
    "Transfer": 5,
    "Insufficient_Funds": 6
  },
  {
    "vchDescripcion": "sample string 1",
    "Rides": 2,
    "Pass": 3,
    "Cash": 4.1,
    "Transfer": 5,
    "Insufficient_Funds": 6
  }
]

application/xml, text/xml

Sample:
<ArrayOfRidershipController.RidershipSummaryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerAPI.Controllers">
  <RidershipController.RidershipSummaryRequest>
    <Cash>4.1</Cash>
    <Insufficient_Funds>6</Insufficient_Funds>
    <Pass>3</Pass>
    <Rides>2</Rides>
    <Transfer>5</Transfer>
    <vchDescripcion>sample string 1</vchDescripcion>
  </RidershipController.RidershipSummaryRequest>
  <RidershipController.RidershipSummaryRequest>
    <Cash>4.1</Cash>
    <Insufficient_Funds>6</Insufficient_Funds>
    <Pass>3</Pass>
    <Rides>2</Rides>
    <Transfer>5</Transfer>
    <vchDescripcion>sample string 1</vchDescripcion>
  </RidershipController.RidershipSummaryRequest>
</ArrayOfRidershipController.RidershipSummaryRequest>