API Factory in the App Designer

Now available in both the GUI and Web App designers, a new object for the API Factory. With this new object you no longer have to code your way to invoke an API created through the API Factory.

This is how it works:

  1. Find the API Factory object in the library under the Resources folder and drag it to the tree of your application.

    api factory library
  2. Select the API and method that you want to use.

    api factory app designer select screen
    api factory app designer search help
  3. Fill in the required entities, if necessary.

    api factory app designer entities button
    api factory app designer entities screen
  4. Bind to MultiModels the Request Body, Query Parameters (optional), Responses.

    api factory app designer binding screen

Result: You can now fill in the MultiModels with the required information for the API Factory and make use of the object simple code getOnline"NameOfTheAPIFactoryObject"() that will fill the MultiModel bound to the Response.

Example:

  1. Fill and call the API Factory.

    api factory app designer example fill call
  2. Handle the response of the API Factory.

    api factory app designer example handle response