Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

/topic/dispatch.activeTows.{regionCode}
/topic/dispatch.activeTow.{towId}
/topic/device.location.{deviceId}

/topic/dispatch.activeTows.{regionCode} would trigger a call to /towInfo/active/{regionCode}

/topic/dispatch.activeTow.{towId} would trigger a call to /towInfo/{towId}though this returns the same data as the call to /towInfo/active/{regionCode}just for a single tow

/topic/device.location.{deviceId} is actually an outlier in that it actually sends the device location in the push. This one should only be used if you want really up to time locations for that device, otherwise just subscribe to /topic/dispatch.activeTows.{regionCode} and then you’ll get notified when the ETA changes.

  • No labels