iRobo.Activity.Rest API Request

Enables you to perform HTTP requests to a specified rest API service.


                                                                                                               

Properties

Input

  • Body - Enter name and path. Once you select the file from the activity button, its added here. (Mandatory)
  • InputURL - The URL to which you want to make the request .(Mandatory)
  • Parameter – segment to be added to the URL header
  • Request Method - The request method to be used when calling the API. The following HTTP verbs are supported: GET, POST, PUT, DELETE By default, the GET method is selected. (Mandatory)

Misc

  • DisplayName - Activity header name.


Output


  • Result - create an object variable to return the result of the API response.
  • StatusCode - create a string variable to return the status of the API response.

Steps of Using Rest API Request Activity

  1. Open iRobo Studio, and then open a new Workflow.
  2. Drag Rest API Request Activity to the Sequence.
  3. Enter the URL in the inputURL input field
  4. Choose the desired RequestMethod
  5. Create an object Variable in the Result field in Properties, then click Ctrl+K to instantly create it in the Variable Table.
  6. Create a String Variable in the Status field in Properties, then click Ctrl+K to instantly create it in the Variable Table.
  7. Drag MessageBox Activity to the Sequence, and add Result field value in Properties Panel.
  8. Click the Save button from iRobo Studio Menu to save Workflow.
  9. Click the Play button to start the automated process.

Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator