Hello,
Sometimes when I query predictions I get back that the vehicle id is "block_C47-255_schedBasedVehicle", instead of a vehicle number like "y1234". This id can't be queried on the /vehicles api as well.
Sample query (today at 14:50):
https://api-v3.mbta.com/predictions?filter[route]=47&filter[stop]=11803&filter[trip]=50263049Sample response:
{"data":[{"attributes":{"arrival_time":"2022-03-03T15:37:54-05:00","departure_time":"2022-03-03T15:37:54-05:00","direction_id":0,"schedule_relationship":null,"status":null,"stop_sequence":22},"id":"prediction-50263049-11803-22","relationships":{"route":{"data":{"id":"47","type":"route"}},"stop":{"data":{"id":"11803","type":"stop"}},"trip":{"data":{"id":"50263049","type":"trip"}},"vehicle":{"data":{"id":"block_C47-255_schedBasedVehicle","type":"vehicle"}}},"type":"prediction"}],"jsonapi":{"version":"1.0"}}
Any help is appreciated.
Thank you,