Create a PRE or POST Call

Procedure

  1. In the Configuration page, select Custom Calls.
  2. In the Actions section, in the left pane, select a required action from the list of actions for which you want to create a PRE or POST call.
  3. Under Custom Call Details section, select PRE or POST and enter the required information in the following fields.
    Note: Pre call is not applicable for BOM item selection; only Post call is applicable. However, both the Pre and the Post calls are applicable for BOM item consumption.
    Field Description
    URL Enter the external service URL.

    For example, https://<IP address>:<port number>/workqueue-app/api/workqueue/operations?workOrderId={WorkOrderId}&segmentId={segmentid}.

    Note: Only CORS-enabled URLs are valid.
    METHOD Select the request type (GET or POST) that will be used to call the external service.
    Authentication Switch the toggle to enable URL authentication.
    Note: Only Operations Hub UAA authentication is supported.
    Add another input parameter Select to add as many input parameters you would like to pass to the external service URLs. The PARAMETER list, along with the ALIAS text box, appears.
    PARAMETER Select an input parameter that you want to add to the URL.
    Note: The input parameters are a list of all property definitions including definitions under the MaterialLot and Material property groups. However, the Configuration application does not support the property definitions within the MaterialLot Import and Material Import property groups even though they are listed.
    ALIAS Enter the alias name based on the selected input parameter.
    Note: The alias name is the external application’s input parameter. It is mapped to the internal application’s input parameter to read values.
  4. Under Output Parameters, provide values as specified in the following table.
    FieldDescription
    PARAMETEREnter the output parameter so that data can be transferred from an external service to the integrated application.
    Display Message KeyEnter a string output parameter, which is a property returned by the API that contains a custom user message. The parameter displays the message when the parameter is present and does not have null, blank or space value.
  5. Select Update to save your changes.