Configuring PWB to use OAuth2 credentials for ION API
- Run PWB.
- Select System > Parameters > Database.
-
In Web Service, select ION
API JSON text then click Paste
ION API JSON text from clipboard to paste the content from the
ION API file.
You can also select ION API to paste the content from the ION API file.
- Click Create new ION API file using copy and paste into editor.
- Paste the content from the ION API file.
- Click Save.
- Click Exit.
- Optionally, select ION API then click Browse to select the file received from the Tenant Administrator.
-
Click Test logon.
A message is displayed that the test logon is successful..
- Click OK.
-
Verify if the information displayed is correct.
- M3 BE user
- You must link your own M3 BE user account because the export is handled on a user level. You must never link to a similar M3 BE user account.
- Tenant ID
- Check the Tenant ID.
- Horizon for selection of orders
- You can set this to 120 or adjust it to a higher or lower number.
- Division
- If Division is followed by an exclamation mark, the calendar in (CRS900) is not defined in Horizon for section of orders. You can extend the division calendar or reduce the horizon for selection of orders until the exclamation mark is no longer displayed.
Note: If the One or more errors occurred error message is displayed, the REST API connection is not configured correctly. You can test the REST API connection using the INSOMNIA tool. - Click OK.
- Exit PWB.