-
Notifications
You must be signed in to change notification settings - Fork 30
Crew Assignment API
sheldonabrown edited this page Jan 28, 2014
·
7 revisions
This API associates operator IDs and associated run IDs, for use during the matching of observed data from a vehicle to the schedule.
This is only operational for a service-date of today. In the early and late hours of the day, data is available for the adjacent day.
(tdm component)/api/crew/(service-date)/list
{ crew: [ { "agency-id": "MTA NYCT", "depot": "OS", "pass-id": "123456", "run-route": "B63", "run-number": "200", "run-id": "B63-200", "service-date": "2011-11-02", "updated": "2011-11-02T10:11:10-005" }, [...] ], status: "OK" }
Notes on this service:
- It will have no more than one response for a given pass-id for a given service date.
- The run number will not have any leading zeros
Underlying data format is here