Axacon WMS can send JSON data automatically to external REST endpoints by using scheduled commands.
This is useful when:
- A model contains too much data for a synchronous request.
- Reports must be delivered at fixed intervals.
- Different data types must be sent to different endpoints.
- Data must be transformed before delivery.
Schedules use CRON notation and can run from approximately every minute to daily or weekly intervals.
Scheduled item ledger commands
SendAllUnsentItemLedgerReportsAsJSON
Sends unsent item ledger reports to the URL configured in the owner’s FilesOutURL field.
SendAllUnsentItemLedgerReportsAsJSONToURL
Sends reports to a URL supplied as a command parameter. Use this when different report types must be delivered to different systems.
Scheduled model commands
SendModelFindAllAsJSON
Sends all records from a model, such as Stock or ZipCode, to the owner’s configured FilesOutURL.
SendModelFindAllAsJSONToURL
Sends all records from a model to a URL supplied as a command parameter.
SendModelFindAllAsJSONWithScript
Sends all model records and applies a JavaScript transformation before delivery.
SendModelWithFinderAndScriptAsJSON
This command combines:
- A finder
- One finder parameter
- A JavaScript transformation
- JSON delivery to an external endpoint
Finders with no parameter or one parameter are supported. Finders requiring multiple parameters are not supported by this scheduled command.
Performance guidance
Do not schedule very large full-model exports too frequently.
- Prefer filtered finders.
- Schedule large exports outside peak warehouse hours.
- Use incremental reports where possible.
- Monitor execution duration and server load.
- Avoid overlapping runs of the same command.