Invoke Ultra Tasks

Invoke the task through URI patterns

You can invoke an Ultra Task by calling either the task name or the alias that was provided when you created the Ultra Task.

  1. In Manager, navigate to the target Project, and click the Tasks tab.
  2. Click on the inverted arrow by the target Task, and click Details.
  3. Copy the URL from HTTP Endpoint.
  4. (Optional) You can view the CA certificate generated by SnapLogic by clicking Download the CA Certificate for your SnapLogic organization.
    Note: In cases where IP Address and port number are used as part of the URL, you must replace them with the name of the host before you can invoke the Task.

Using Task Name to Invoke the Task

feed_master_uri/api/1/rest/feed-master/queue/org/project_space/project/task_name

Using Alias to Invoke the Task

feed_master_uri/api/1/rest/feed-master/queue/org/project_space/project/alias

Send an HTTP Request to the pipeline

To send HTTP requests to the pipeline, use the HTTP Authorization header and endpoint from the Task Details page.

The Authorization header must be included in requests sent to the endpoint if a Bearer token is configured. Otherwise, an HTTP 401 Unauthorized error is returned.

The HTTP endpoint belongs to the FeedMaster that is part of the Snaplex on which the Task is configured to run. As an example, the following cURL command line sends a GET request to the FeedMaster with the Authorization header.

Using the Task Name
$ curl -k -H 'Authorization: Bearer jH6ofxtn3qe8jGoiSWbW3adW0N6KXziV'
https://groundplex.local:8084/api/1/rest/feed-master/queue/Snaplogic/projects/llfeed-demo/hello-world-task
Using the Alias
 $ curl -k -H 'Authorization: Bearer jH6ofxtn3qe8jGoiSWbW3adW0N6KXziV' 
https://groundplex.local:8084/api/1/rest/feed-master/queue/Snaplogic/projects/llfeed-demo/hello-world-task-alias