Restricting Trip Planner modes

Hi,
I’d like to restrict the travel modes available to Trip Planner for a specific request but I can’t find any documentation describing the necessary parameter. I’ve found a forum post dated Nov 2017 where Vic says the documentation has been updated to include relevant details. But I’ve been through the V3.1 Trip Planner APIs document and can’t find any reference.

Does anyone know how I can restrict the acceptable travel modes ?

Thanks,
Steven

The params are in the API explorer (https://opendata.transport.nsw.gov.au/node/601/exploreapi#!/default/tfnsw_trip_request2), but here’s a summary:

The only thing new to note is metro is MOTId = 2

1 Like

Hi jxeeno,

Thanks for your reply and the links. Very helpful as always.

Cheers,
Steven

© Transport for NSW