Hi All,
Technical question regarding the behaviour of the offset parameter available with GetDepBoardWithDetails SOAP request.
I have some logic that observes the maximum time window (diff between now and last scheduled departure) of services in the first board that's returned to pull a subsequent board using that time offset. When the time window is 5 minutes or more, this works fine and I receive up to 20 services from the two calls. However when it reduces to 2 minutes or less the 2nd GetDepBoardWithDetails call returns return the same board apparently ignoring the offset.
Question - Is this expected behaviour, does the GetDepBoardWithDetails end point have a minimum practical value for the offset?
The documentation suggest that it doesn't have any kind of restriction:
TimeOffset (integer, between -120 and 120 exclusive): An offset in minutes against the current time to provide the station board for. Defaults to 0. Optional.
I use parameters crs=LBG, numRows=10, parmOffset, parmWindow=120 and of course requestType=GetDepBoardWithDetailsRequest. I'm not using the filterCrs or filterType parameters.
In the following example the logic is chaining 3 such calls but getting identical boards each time.
[1] first service CST plat 3 departs 09:03
[1] Last service CST plat 2 departs 09:17
[2] First service CST plat 3 departs 09:03
[2] Last service CHX plat 8 departs 09:17
[3] First service CST plat 3 departs 09:03
[3] Last service CHX plat 8 departs 09:17
Results are in attached image. The above calls were made at 9.16 with the offset = 1, what I expect to see are the departures scheduled from 9:17 onwards however I get the same 3 boards as indicated above. The issue may be well related to the delayed services showing from 9:03 onwards.
Any help or suggestions appreciated
Many thanks
Mark