Can someone please tell me exactly what I need to add to these textfields, please?
useStopPointHeirarchy: a simple true/false - true if you want the output returned as a hierarchy (i.e. TopMostParent and then children iteratively, false if you just want a list
modes: you most probably want âbusâ here, possibly âbus,tramâ
categories: probably leave blank to return all the possible data. If you want to refine the returned output, do what Swagger says and use stopPoint/Meta/categories to get the list in order to decide which categories of data to include/exclude
I am also having problems with this end point, I always get a âEntityNotFoundExceptionâ 404 error, no matter what query parameters I use.
Do you get back a valid result?
Here is the full url I call (please update the id and keys accordingly to test):
https://api.tfl.gov.uk/StopPoint?stopTypes=NaptanBusWayPoint&radius=200&useStopPointHierarchy=false&modes=bus&categories=none&returnLines=true&location.lat=51.6&location.lon=0.12&app_id=xxx&app_key=xxx