Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Execute the tasks/ taskflows present in different folders using REST API in IICS
Solution
In order to execute tasks or taskflows follow the steps:

1. Make a login call either with V2/ v3
POST: https://dm-us.informaticacloud.com/ma/api/v2/user/login
Header: Accept: application/json
Content-type: application/json
Body: { "@type": "login", "username": "", "password": "" }

2. Using lookup API available with V3 version of the REST get the task ID through the FRS ID
POST: serverUrl/public/core/v3/lookup
Header: Accept: application/json
Content-type: application/json
INFA-SESSION-ID : Session ID received from the login call
Body: { "objects": [{ "id" : "Provide FRS ID from UI. Refer screen shot below" }, { "path" : "Entire path to the task including project and folder/Synchronization Task1", "type" : "DSS" }] }
FRS ID:
v3lookup.PNG 
 

Response for the lookup call
responselookup.PNG 
 
3. Using the ID start the task using job aPI as follows:
POST: serverUrl/api/v2/job​/{id retrieved from the lookup API}
Header: Accept: application/json
Content-type: application/json
icSessionId : Session ID received from the login call
More Information
Reference
Applies To
Product: Cloud Data Integration
Problem Type: Product Feature
User Type: Developer
Project Phase: Implement
Product Version:
Database:
Operating System:
Other Software:
Attachments
Last Modified Date:8/7/2019 9:14 PMID:585511
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)