HomeInterfacesRecipesChangelogFAQ
Log In
Interfaces

Migration Guide (V2)

Why Update the Interface?

The new Interface V2, while keeping a similar API to Interface V1, is built on a completely new technology stack. This brings several advantages:

  • Built-in web server: Uses Kestrel, so no need to set up IIS.
  • Simplified architecture: Only one executable module, AutoStore.Interface, replaces the previous Interface Service and Interface HTTP, making setup easier.
  • Faster request processing.
  • Improved logging and error handling.
  • Simpler configuration.
  • Easier installation.
  • Updated API documentation.
⚠️

With the launch of Interface V2, the old V1 Interface is DEPRECATED. All new API features and improvements will be applied exclusively to the new interface.


Breaking Changes

The new interface contains some very minor breaking changes:

ChangeV1V2
Task Interface URL endpointASInterfaceHttp/AutoStoreHttpInterface.aspxapi/v2/task
Bin Interface URL endpointASInterfaceHttp/BinInterface.aspxapi/v2/bin
Interface port80/43344000
Log Publisher port5300544001
Timestamps accepted for inputs such as req_time and start_timeUTC ISO-8601 timestamps as well as a wider range of other timestamp formatsOnly UTC ISO-8601 (2024-12-25T12:00:00Z)
Wrapping XML inside multiple parent nodesThe XML parser accepted an arbitrary number of parent nodes within the <params> element. For example, it was possible to submit
<params>&lt;my_node>&lt;my_other_node>&lt;port_id>4&lt;/port_id>&lt;/my_other_node>&lt;/my_node></params>
to the openbin endpoint, and it would be accepted.
This is not supported in Interface V2. This change is particularly relevant for the add_task endpoint, where tasks were commonly wrapped inside a <tasks> node.
Set value 0 to port_idErroneously accepted in FusionPort™ related endpointsThis value is not allowed anymore.
Get the Simulation current speed factor.gettimefactorRenamed to get_simulation_speed.

Running Interface V1 And V2 Simultaneously

This should NOT be done. Use one of the interfaces. If you install V2, uninstall V1. Using both at the same time can lead to state mismatch and race conditions.


How To Migrate To Interface V2

Migration to the new interface likely requires updating the WMS. The update of the two needs to be coordinated. This is the most tricky part when updating to the new interface.

⚠️

Changes and migration should be verified using the WMS SDK simulation before deploying to production.

AutoStore recommends the following migration process:

  1. Install the new Interface.
  2. Deploy a new WMS that interface the new Interface (updated URLs, etc.) and not the old.
  3. Verify that it works
    1. If NOT, downgrade the WMS so it uses the old interface again.
    2. If works, UNINSTALL the old Interface by uninstalling the application and remove the corresponding IIS.

Future Plans For The Interface

All new features and improvements will only be applied to the new interface, NOT the old interface. The old interface will only receive vital security fixes for a year.

With the new interface, we have introduced versioning in the API endpoints (api/v2). This lets us more easily perform more major breaking changes to the API in the future. If/when this happens, we will of course let you know in due time. Having versioning explicitly in the endpoint makes it easier for us to be backwards compatible and ease the transition to new APIs.

❗️

Interface V1 will be supported for vital security and compatibility fixes until March 2026. New feature development has moved to interface V2.