Line status of for all lines for the given modes by DATE


#1

Hi

Currently you can call the end point below to get the current status:

/Line/Mode/{modes}/Status
eg:
/Line/Mode/tube/Status

However if I wanted to get the status/disruptions in at a future date, I would have to enter every line ID individually into {ids}.

/Line/{ids}/Status/{StartDate}/to/{EndDate}

Is there an endpoint where I can put the mode, start and end date to get status/disruptions at a future date?

Many thanks


#2

Ok figured it out. Documentation needs to be updated. Thanks


#3

Hi Jason,

Did you find an endpoint specifically for what you were after? If so, do you mind sharing here? My understanding is that you do need to pass identifiers for each line when querying for future statuses by date i.e

/Line/{ids}/Status/{StartDate}/to/{EndDate}


#4

Hi Malcolmb

It seems as though you’re able to pass the parameters startDate and endDate to the /Line/Mode/{modes}/Status end point, even though it doesn’t mention this in the documentation.

I hope this helps.