Will, good questions.
First, a comment: the stop-for-id is an unofficial/unsupported API call. It is developed specifically to meet the needs of the map-based UI Bus Time provides and as such is not publicly documented nor is accompanied by any guarantee of support or backwards compatability, and can change at any time with no warning. We *strongly* recommend only the use of the SIRI API and the OneBusAway API, which we need to publicize.
Also, please note that the SIRI API’s provide either JSON or XML, depending on how you make the call. http://.../stop-monitoring.xml?... Will yield an XML reponse, while http://.../stop-monitoring.json?... will yield JSON.
As for your issues with those specific SIRI Calls, the issue has to do with how things changed when we launced the Bronx a couple of weeks back (since the Bronx has MTA NYCT and MTABC). The changes were described in advance on the ChangeLog (http://bustime.mta.info/wiki/Developers/ChangeLog) with an accompanying post to the MTADevelopers google group.
The problem you are having is with your use of the OperatorRef. All stops now have agency_id/OperatorRef of “MTA”. As such, for StopMonitoring calls, please use either:
- ….&OperatorRef=MTA&MonitoringRef=123456
- ….&MonitoringRef=MTA_123456 (with no OperatorRef at all)
Hope this helps. Sorry for the docs lagging (Bronx was launched just before Sandy), we’re working on fixing that this morning.
Thanks
Mike