Skip to content

ERP Export ​

Use ERP Export to send WSi project data to your ERP system. There are two ways to export:

  • JSON → Server sends data directly to your ERP over HTTP — no manual file handling. WSi authenticates with the server and sends a JSON payload.
  • JSON → File saves the same JSON to a file on your machine or network drive.

Both modes use the same JSON structure and interface configuration. The choice is only a matter of how the data is delivered.

When to Use ERP Export ​

Choose ERP Export when:

  • Your organisation has a server endpoint configured for receiving WSi data
  • You want to push export data automatically without saving a file first
  • You need to integrate with a custom ERP system

INFO

For IT-Blech or Oseon ERP systems, WSi has dedicated adapters:

  • IT-Blech Export — the IT-Blech adapter writes IT-Blech XML files, enabled when the IT-Blech module is licensed
  • Oseon Export — the Oseon adapter writes Trumpf Oseon import files, enabled when the Oseon module is licensed

For saving a file to your machine or network drive, see Local Export instead.

JSON → server ​

  1. Click File → Export → ERP Export (JSON → Server), or use the toolbar button.
  2. WSi checks that all parts are export-ready. If there are errors, a dialog lists them — fix them first, then try again.
  3. If no URL is configured, enter your ERP server endpoint in the field provided. WSi remembers the last URL you used.
  4. If prompted, enter your authentication credentials (basic auth or bearer token). WSi stores them for future exports.
  5. WSi sends the JSON to your server. A confirmation appears when the transfer succeeds.

For the interface type and resource options, see Standard Interface.

WARNING

Exports are blocked if any parts use unlicensed features (welding, machining, coating, punching). Contact your sales representative at WSoptics to activate those features.

TIP

If your server uses a self-signed certificate, WSi asks whether to trust it the first time you connect.

What is sent ​

The JSON payload contains your project data — either BOM JSON (a bill of materials with components, work steps, costs, and dimensions) or Graph JSON (full project structure with geometry and articles). The selected files are embedded as base64. Which format is used depends on your interface configuration.

JSON → file ​

Save the ERP JSON payload to a file instead of sending it to a server:

  1. Click File → Export → ERP Export (JSON → File), or press Ctrl+J.
  2. WSi checks that all parts are export-ready. Fix any errors first.
  3. Choose a location and filename. The default suggested name is <project_name>.json.
  4. Click Save.

The saved JSON is identical to what would be sent to the server. You can open it in any text editor or load it into another system. WSi remembers the last export directory.

Authentication ​

WSi supports two authentication methods:

  • Basic auth — username and password
  • Bearer token — a token string

Credentials are stored securely and reused for subsequent exports.

Configuration ​

ERP server URL, authentication, and SSL options are stored in WSi's local settings. Your administrator can pre-configure these so you don't need to enter them manually each time.

ERP Integration Settings ​

Access via Settings → Client → Local ERP settings → Configuration ERP integration.

SettingWhat it does
Endpoint URLThe server address WSi sends data to. Accepts http://, https://, and file:// schemes.
Quit on successful exportWhen enabled, WSi closes automatically after a successful export — useful for automated pipelines.
ERP Integration InputCustom key–value pairs merged into the projectUserData field of every export. Allows injecting per-company metadata into the JSON payload.
HTTP Request HeadersAdditional headers sent with every request (e.g. X-API-Key, X-Company-ID). Each header has a name and a value.

The endpoint URL, quit-on-success flag, and integration input can each be set to default (pre-configured by your administrator) or custom (overridden per-session in the dialog).

Standard interface configuration ​

The Standard Interface page describes which interface type WSi uses for the export JSON and which resources it includes.

SSL and Certificates ​

If your ERP server uses HTTPS with a self-signed certificate, WSi prompts you to trust it on first connection. Trusted certificates are stored locally.

If you encounter SSL errors that block the connection, your administrator can configure WSi to ignore specific SSL error codes (not recommended for production).

See Also ​