Developer Resources

getcalendardatesbyservice

Get a list of calendar dates based on a specific service_id.

URL

https://developer.mtd.org/api/{version}/{format}/getcalendardatesbyservice

Remarks

The results provide all the dates that this specific service runs on. Each trip references a calendar_date through the service_id to indicate which dates the trip operates.

Parameters

key (required) your API key
service_id (required) id of the service
changeset_id (optional) see interpretting responses for more information

Response

date a date this service operates
service_id id for this service type

Sample