Using the M3 API Editor

The M3 API editor can be divided into two sections:

  • General Information

    This contains general information about the method that wraps the M3 API program.

    The fields in the General Information are as follows:

    Name

    Name of the web service method

    M3 API Program

    Name of the M3 MI/API program that is wrapped by the web service

    Wrapped Transaction

    Transaction in the M3 MI/API program that is wrapped by the web service method

    Alias

    Alias of the transaction in the MI/API program

    Short Description

    Short description of the program

    Long Description

    Long description of the program

  • The second section contains two tables – Input to program and Output from program.

    Input to program

    This table contains all the available fields, both required and optional fields that a selected M3 MI/API program has on all its panels. You can edit the aliases for the input fields.

    • Mandatory are required input that M3 programs need in order to work.

    • Optional inputs are not required.

    • You can edit the Type for the input parameters.

    Note: The aliases are displayed only if you have selected the Create field alias check box while creating the method.

    See Creating a method wrapping an M3 API program.

  • Output from program

    The output fields are the results that a web service publishes after successful execution. The result should be the same as the output of the selected M3 MI/API program when it is run in the Infor Smart Office.

    You must select which fields you want returned to the calling client. All output fields are optional, but without any output fields, a warning is given. See information about specifying output fields in Specifying the output fields.