Configure RESTful service activity to insert data

You can configure the Restful service activity to insert the data.

You can store the entire output to a single variable of type String, XML, or Data object variable.

For a POST, you can map both request and response to data object variables. The request can accept multiple objects which are combined into a single request before being passed to the REST API call.

You can use single fields of the data object to configure the request or response, such as use SlackUserDetails.Id as a URL parameter or use an expression from the response.

Use the following procedure to configure a RESTful service activity to insert the data.

  1. On the Verb list, select POST.
  2. On the Type list, select XML or JSON. (Default: XML)
  3. Right-click in the Request rule editor and select a process or server variable. You can use a data object variable or its specific fields to send the request to the service.
  4. Edit the default custom header as needed.
  5. Handle a response.
  6. Define a response header.
  7. Configure error handling.