All EDI transaction set models are represented as OpenAPI Schema objects. EdiNation supports two types of models:
- System models - the standard models that we have prebuilt and are ready for use
- Custom models - the models that you can create yourselves.
The purpose of the custom models is that you will have partners whose specification might differ from the standard and requires modification.
Once you had created your custom model and exported it to either OpenAPI 3 YAML or JSON file, you need to upload it before using it.
Navigate to Import SEF or OpenAPI
Upload the custom model file (in .sef, .yaml, or .json format. EdiFabric .dll is also supported).
The uploaded model will be automatically selected and you'll be able to view the transaction sets and verify that the upload was successful.
The custom model is now ready for use by both the API and Web EDI.
Copy the model name:
Navigate to Web EDI Translator settings and paste the model name in the "Read model" field:
Click "Save" to save the setting. All EDI files translated in Web EDI will try to use this model for translation.
The custom model can be used only by you and is visible only within your subscription.
To update the same model, you can upload it with the same file you used originally.
To delete the model, click on the "cogs" icon and select "Delete model".