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.
- On the Verb list, select POST.
- On the Type list, select XML or JSON. (Default: XML)
- 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.
- Edit the default custom header as needed.
- Handle a response.
- Define a response header.
- Configure error handling.