GET api/Locations/{locationId}/Trips?startTime={startTime}&endTime={endTime}&includePickup={includePickup}&includeDropoff={includeDropoff}
Gets all the trips to a location (both pickup or drop off or both) and the client info for those trips
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| locationId |
The ID of the location to get the trips for |
integer |
Required |
| startTime |
The time to start looking for location trips |
date |
None. |
| endTime |
The time to find trips until |
date |
None. |
| includePickup |
True if we search for pickups at the location |
boolean |
Default value is True |
| includeDropoff |
True if we search for dropoffs at the location |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.