Select model output parameters for REST
Specify how fields on the ERP (Enterprise Resource Planning) system map to output parameters and their values. This defines the outputs for an operation that reads, creates, or updates the system of record using REST.
Before you begin
Role required: sn_erp_integration.erp_admin
Procedure
- Navigate to All > Zero Copy Connector for ERP > Zero Copy Connector for ERP Home.
-
Open the model page by selecting the models icon
in the side panel.
- Select the model that you want to add an operation to.
- Select the Manage model button.
-
Open a model operation with a REST entity.
If you don't have a model operation, add one to the model. For more information, see Add an operation to a model in Zero Copy Connector for ERP.
-
Check that at least one REST entity is listed.
If you don't have a REST entity, add one to the operation. For more information, see Add a REST entity to a model operation.
- Select Choose outputs.
- In Selection, select a listed REST service.
- Select Select mandatory fields, add fields, and select OK.
- Select Select fields and add fields.
-
Select OK.
Zero Copy Connector for ERP automatically suggests mappings between source fields and mapped fields. This reduces the amount of manual work to do, while still giving you control to edit the mappings as needed. For more information, see Zero Copy Connector for ERP semantic mapping.
Mapped field names in inputs and outputs are generated automatically, but you can edit the names manually. For more information, see Edit input and output mapped value name in Zero Copy Connector for ERP.
- Optional:
If needed, add a field.
- Select + Add field.
-
In Source field, select a field from the drop-down list.
Field information is added to Data type, Required, and Mapped field automatically.
The Data type field contains a variety of types including string, integer, array, and Boolean. For general information, see Workflow Studio input and output data variables.
- Select OK.
- Optional:
Add any nested output fields or parameters to choose what data to include from a complex parameter.
-
Select the nesting options icon.
- Select + Add field.
-
In Source field, select a field from the drop-down list.
Field information is added to Data type, Required, Mapping type, and Mapped field automatically.
The following example shows full data options, but only some have been specified as output.
-
Select the nesting options icon.
- Select Save.