REST Agent Jobs: Web Services Settings
REST Agent Jobs let you define requests with complex queries and responses in one single object. They also lets you parse the values returned in the response into various types of outputs that you can use, for example, in subsequent Jobs in a Workflow.
A REST Agent Job consists of several definition pages. Some of them are common to all Integration Agents. Others are common to all executable objects in Automic Automation.
Registered output files for REST Agent Jobs are saved to the task_reports directory under the bin directory. They will remain there until you move or delete them. For information about this functionality, please refer to the Automic Automation product documentation at Registering External Output Files.
Defining REST Agent Web Services Job Properties
On the Web Services page, you define the parameters relevant to run that job on REST from Automic Automation:
-
Enable the connection between the Job and the target Web Service
-
Determine the content of the execution reports
-
Specify the target Web Service endpoint
-
Define the timeout
General Section
- Connection
- Write response to Job Log
- Create Request Reports
- Create Response Report
- URI Endpoint
- Override URI Endpoint
Select the Connection object that establishes the connection between the REST Agent and the target REST Web Service. For more information, see Establishing the Connection between the REST Agent and the Target System.
Select it if you want the REST Agent to print the whole response to the Job log.
Select it if you want to create and register a report with the request data. These reports are written to the task_reports directory.
Select it if you want to create and register a report with the response data. These reports are written to the task_reports directory.
This field is read-only. It dynamically lists the full URI on the target REST Web Service as defined in URL Endpoint in the Connection object, see .
The full URI that you enter here will override the URI, resource, and query parameters for this Job. You need to do this if, for example, you have duplicated an existing and already configured REST Job and you want to adjust some of its parameters.
Advanced Section
- Connection Timeout
- Read Timeout
- Trace Performance Metrics
- COMPILE_REQUEST_DURATION
- COMPILE_RESPONSE_DURATION
- ROUNDTRIP_DURATION
Define the number of seconds before timing out while attempting to connect to the URL endpoint. When set to 0, the connection never times out. When no timeout is specified, the Job's Connection object setting is used.
Define the number of seconds before timing out when waiting for a method call. When set to 0, the read never times out. When no timeout is specified, the Job's Connection object setting is used.
If you select this option, statistics on how long the call and parsings took are written to the Job report. Additionally, the following object variables are set with the metrics that can be reported upon:
-
Add request(s) to the Job on the Request page. For more information, see Defining REST Agent Jobs: Requests.
-
Optionally add response(s) to the Job on the Response page. For more information, see Defining REST Agent Jobs: Responses.
See also: