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: Run the Informatica Cloud task (IICS) with Rest API using the new Global identifier Id of the object
Solution
There is a workaround to execute Informatica cloud jobs using the new Global identifier of the object, it involved the following steps:

Step 1: To get the global Id using Lookup V3 API:

   POST <baseApiUrl>/public/core/v3/Lookup
   Content-Type: application/json
   Accept: application/json
   INFA-SESSION-ID: <SessionId>
   {
    "objects" : [
        {
                "path" : "Default/MappingTask1",
               "type" : "MTT"
                }]
    }
   Response:
   {
    "objects": [
        {
            "id": "47ASiXOmS9pj7WQPeBA9cN",
            "path": "Default/MappingTask1",
            "type": "MTT",
            "description": "",
            "updateTime": "2018-10-12T23:23:26Z"
        }
       ]
   }
 
Step 2:  
The above response will contain the new Global identifier of the object of the MCT which needs to executed, Now using the FRS GUID the job can be executed using the following method:

   POST <serverUrl>/api/v2/job
   Content-Type: application/json
   Accept: application/json
   icSessionId: <SessionId>
   {
      "@type": "job",
      "taskFederatedId": "47ASiXOmS9pj7WQPeBA9cN",
      "taskType":    "MTT"
    }
    
   Response:
   {
    "@type": "job",
    "taskId": "0100010Z00000000000A",
    "taskType": "MTT",
    "runId": 2,
    "taskName": "MappingTask1",
    "runInParallel": false
    }​​
More Information
​​ ​​IICS REST API Document. 
Reference
Applies To
Product: Cloud Data Integration
Problem Type: Installation
User Type: Architect
Project Phase: Implement
Product Version:
Database:
Operating System:
Other Software:
Attachments
Last Modified Date:11/11/2019 5:42 AMID:564336
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)