Trip ID for departure

Hi,

Results from a Trip Planner departure_mon enquiry often contain an AVMSTripID and I can use the value if required to lookup the trip and display the details. But entries without the “isRealTimeControlled” key don’t have the AVMSTripID field and I can’t see any way of determining the trip ID.

Can anybody tell me how I can get the trip ID for these entries ?

Thanks,
Steven

Update: On Sunday morning all stopEvents had a RealtimeTripId field which did provide the trip ID. But with the next departure_mon enquiry (same EFA_ID) all the bus entries did not contain this field.

My cURL command here is <‘https://api.transport.nsw.gov.au/v1/tp/departure_mon?outputFormat=rapidJSON&coordOutputFormat=EPSG:4326&mode=direct&type_dm=stop&name_dm={T_STOP}'&depArrMacro=dep&itdDate='{T_DATE}’&itdTime=’${T_TIME}’&TfNSWDM=true&version=10.2.1.42’>.

Is there anything wrong with my command or is there a better alternative ?

Thanks,
Steven

© Transport for NSW