Está en la página 1de 77

Informatica Cloud (Spring 2012)

Developer Guide
Informatica Cloud Developer Guide
Spring 2012
Copyright (c) 2007-2012 Informatica. All rights reserved.
This software and documentation contain proprietary information of Informatica Corporation and are provided under a license agreement containing restrictions on use and
disclosure and are also protected by copyright law. Reverse engineering of the software is prohibited. No part of this document may be reproduced or transmitted in any form,
by any means (electronic, photocopying, recording or otherwise) without prior consent of Informatica Corporation. This Software may be protected by U.S. and/or international
Patents and other Patents Pending.
Use, duplication, or disclosure of the Software by the U.S. Government is subject to the restrictions set forth in the applicable software license agreement and as provided in
DFARS 227.7202-1(a) and 227.7702-3(a) (1995), DFARS 252.227-7013

(1)(ii) (OCT 1988), FAR 12.212(a) (1995), FAR 52.227-19, or FAR 52.227-14 (ALT III), as applicable.
The information in this product or documentation is subject to change without notice. If you find any problems in this product or documentation, please report them to us in
writing.
Informatica, Informatica Platform, Informatica Data Services, PowerCenter, PowerCenterRT, PowerCenter Connect, PowerCenter Data Analyzer, PowerExchange,
PowerMart, Metadata Manager, Informatica Data Quality, Informatica Data Explorer, Informatica B2B Data Transformation, Informatica B2B Data Exchange Informatica On
Demand, Informatica Identity Resolution, Informatica Application Information Lifecycle Management, Informatica Complex Event Processing, Ultra Messaging and Informatica
Master Data Management are trademarks or registered trademarks of Informatica Corporation in the United States and in jurisdictions throughout the world. All other company
and product names may be trade names or trademarks of their respective owners.
Portions of this software and/or documentation are subject to copyright held by third parties, including without limitation: Copyright DataDirect Technologies. All rights
reserved. Copyright

Sun Microsystems. All rights reserved. Copyright

RSA Security Inc. All Rights Reserved. Copyright

Ordinal Technology Corp. All rights


reserved.Copyright

Aandacht c.v. All rights reserved. Copyright Genivia, Inc. All rights reserved. Copyright Isomorphic Software. All rights reserved. Copyright

Meta
Integration Technology, Inc. All rights reserved. Copyright

Intalio. All rights reserved. Copyright

Oracle. All rights reserved. Copyright

Adobe Systems Incorporated. All


rights reserved. Copyright

DataArt, Inc. All rights reserved. Copyright

ComponentSource. All rights reserved. Copyright

Microsoft Corporation. All rights reserved.


Copyright

Rogue Wave Software, Inc. All rights reserved. Copyright

Teradata Corporation. All rights reserved. Copyright

Yahoo! Inc. All rights reserved. Copyright

Glyph & Cog, LLC. All rights reserved. Copyright

Thinkmap, Inc. All rights reserved. Copyright

Clearpace Software Limited. All rights reserved. Copyright

Information
Builders, Inc. All rights reserved. Copyright

OSS Nokalva, Inc. All rights reserved. Copyright Edifecs, Inc. All rights reserved. Copyright Cleo Communications, Inc. All rights
reserved. Copyright

International Organization for Standardization 1986. All rights reserved. Copyright

ej-technologies GmbH. All rights reserved. Copyright

Jaspersoft
Corporation. All rights reserved. Copyright

is International Business Machines Corporation. All rights reserved. Copyright

yWorks GmbH. All rights reserved. Copyright

1998-2003 Daniel Veillard. All rights reserved. Copyright

2001-2004 Unicode, Inc.


This product includes software developed by the Apache Software Foundation (http://www.apache.org/), and other software which is licensed under the Apache License,
Version 2.0 (the "License"). You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under the License.
This product includes software which was developed by Mozilla (http://www.mozilla.org/), software copyright The JBoss Group, LLC, all rights reserved; software copyright

1999-2006 by Bruno Lowagie and Paulo Soares and other software which is licensed under the GNU Lesser General Public License Agreement, which may be found at http://
www.gnu.org/licenses/lgpl.html. The materials are provided free of charge by Informatica, "as-is", without warranty of any kind, either express or implied, including but not
limited to the implied warranties of merchantability and fitness for a particular purpose.
The product includes ACE(TM) and TAO(TM) software copyrighted by Douglas C. Schmidt and his research group at Washington University, University of California, Irvine,
and Vanderbilt University, Copyright (

) 1993-2006, all rights reserved.


This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (copyright The OpenSSL Project. All Rights Reserved) and redistribution of
this software is subject to terms available at http://www.openssl.org and http://www.openssl.org/source/license.html.
This product includes Curl software which is Copyright 1996-2007, Daniel Stenberg, <daniel@haxx.se>. All Rights Reserved. Permissions and limitations regarding this
software are subject to terms available at http://curl.haxx.se/docs/copyright.html. Permission to use, copy, modify, and distribute this software for any purpose with or without
fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
The product includes software copyright 2001-2005 (

) MetaStuff, Ltd. All Rights Reserved. Permissions and limitations regarding this software are subject to terms available
at http://www.dom4j.org/license.html.
The product includes software copyright

2004-2007, The Dojo Foundation. All Rights Reserved. Permissions and limitations regarding this software are subject to terms
available at http://dojotoolkit.org/license.
This product includes ICU software which is copyright International Business Machines Corporation and others. All rights reserved. Permissions and limitations regarding this
software are subject to terms available at http://source.icu-project.org/repos/icu/icu/trunk/license.html.
This product includes software copyright

1996-2006 Per Bothner. All rights reserved. Your right to use such materials is set forth in the license which may be found at http://
www.gnu.org/software/kawa/Software-License.html.
This product includes OSSP UUID software which is Copyright

2002 Ralf S. Engelschall, Copyright

2002 The OSSP Project Copyright

2002 Cable & Wireless


Deutschland. Permissions and limitations regarding this software are subject to terms available at http://www.opensource.org/licenses/mit-license.php.
This product includes software developed by Boost (http://www.boost.org/) or under the Boost software license. Permissions and limitations regarding this software are subject
to terms available at http://www.boost.org/LICENSE_1_0.txt.
This product includes software copyright

1997-2007 University of Cambridge. Permissions and limitations regarding this software are subject to terms available at http://
www.pcre.org/license.txt.
This product includes software copyright

2007 The Eclipse Foundation. All Rights Reserved. Permissions and limitations regarding this software are subject to terms
available at http://www.eclipse.org/org/documents/epl-v10.php.
This product includes software licensed under the terms at http://www.tcl.tk/software/tcltk/license.html, http://www.bosrup.com/web/overlib/?License, http://www.stlport.org/doc/
license.html, http://www.asm.ow2.org/license.html, http://www.cryptix.org/LICENSE.TXT, http://hsqldb.org/web/hsqlLicense.html, http://httpunit.sourceforge.net/doc/
license.html, http://jung.sourceforge.net/license.txt, http://www.gzip.org/zlib/zlib_license.html, http://www.openldap.org/software/release/license.html, http://www.libssh2.org,
http://slf4j.org/license.html, http://www.sente.ch/software/OpenSourceLicense.html, http://fusesource.com/downloads/license-agreements/fuse-message-broker-v-5-3- license-
agreement; http://antlr.org/license.html; http://aopalliance.sourceforge.net/; http://www.bouncycastle.org/licence.html; http://www.jgraph.com/jgraphdownload.html; http://
www.jcraft.com/jsch/LICENSE.txt. http://jotm.objectweb.org/bsd_license.html; . http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231; http://www.slf4j.org/
license.html; http://developer.apple.com/library/mac/#samplecode/HelpHook/Listings/HelpHook_java.html; http://www.jcraft.com/jsch/LICENSE.txt; http://
nanoxml.sourceforge.net/orig/copyright.html; http://www.json.org/license.html; http://forge.ow2.org/projects/javaservice/, http://www.postgresql.org/about/licence.html, http://
www.sqlite.org/copyright.html, http://www.tcl.tk/software/tcltk/license.html, http://www.jaxen.org/faq.html, http://www.jdom.org/docs/faq.html, http://www.slf4j.org/license.html;
http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/License; http://www.keplerproject.org/md5/license.html, http://www.opensource.apple.com/source/awk/awk-2/awk.h, http://
www.arglist.com/regex/COPYRIGHT, http://atl-svn.assembla.com/svn/wp_sideprj/FSPWebDav/CVTUTF.C, and http://www.cs.toronto.edu/pub/regexp.README .
This product includes software licensed under the Academic Free License (http://www.opensource.org/licenses/afl-3.0.php), the Common Development and Distribution
License (http://www.opensource.org/licenses/cddl1.php) the Common Public License (http://www.opensource.org/licenses/cpl1.0.php), the Sun Binary Code License
Agreement Supplemental License Terms, the BSD License (http:// www.opensource.org/licenses/bsd-license.php) the MIT License (http://www.opensource.org/licenses/mit-
license.php) and the Artistic License (http://www.opensource.org/licenses/artistic-license-1.0).
This product includes software copyright

2003-2006 Joe WaInes, 2006-2007 XStream Committers. All rights reserved. Permissions and limitations regarding this software
are subject to terms available at http://xstream.codehaus.org/license.html. This product includes software developed by the Indiana University Extreme! Lab. For further
information please visit http://www.extreme.indiana.edu/.
This Software is protected by U.S. Patent Numbers 5,794,246; 6,014,670; 6,016,501; 6,029,178; 6,032,158; 6,035,307; 6,044,374; 6,092,086; 6,208,990; 6,339,775;
6,640,226; 6,789,096; 6,820,077; 6,823,373; 6,850,947; 6,895,471; 7,117,215; 7,162,643; 7,243,110, 7,254,590; 7,281,001; 7,421,458; 7,496,588; 7,523,121; 7,584,422,
7,720,842; 7,721,270; and 7,774,791, international Patents and other Patents Pending.
DISCLAIMER: Informatica Corporation provides this documentation "as is" without warranty of any kind, either express or implied, including, but not limited to, the implied
warranties of noninfringement, merchantability, or use for a particular purpose. Informatica Corporation does not warrant that this software or documentation is error free. The
information provided in this software or documentation may include technical inaccuracies or typographical errors. The information in this software and documentation is
subject to change at any time without notice.
NOTICES
This Informatica product (the Software) includes certain drivers (the DataDirect Drivers) from DataDirect Technologies, an operating company of Progress Software
Corporation (DataDirect) which are subject to the following terms and conditions:
1. THE DATADIRECT DRIVERS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
2. IN NO EVENT WILL DATADIRECT OR ITS THIRD PARTY SUPPLIERS BE LIABLE TO THE END-USER CUSTOMER FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, CONSEQUENTIAL OR OTHER DAMAGES ARISING OUT OF THE USE OF THE ODBC DRIVERS, WHETHER OR NOT INFORMED OF
THE POSSIBILITIES OF DAMAGES IN ADVANCE. THESE LIMITATIONS APPLY TO ALL CAUSES OF ACTION, INCLUDING, WITHOUT LIMITATION, BREACH
OF CONTRACT, BREACH OF WARRANTY, NEGLIGENCE, STRICT LIABILITY, MISREPRESENTATION AND OTHER TORTS.
Part Number: ICS-DVG-12000-0001
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Informatica Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Informatica Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Informatica Web Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Informatica Cloud Web Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Informatica Cloud Community. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii
Informatica Cloud Trust Site. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Informatica Global Customer Support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iv
Chapter 1: Informatica Cloud Toolkit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Informatica Cloud Toolkit Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Sample Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Development Process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Best Practices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Informatica Cloud Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Informatica Cloud Toolkit Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
IPlugin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
IRegistrationInfo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
IMetadata. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
ITypeSystem. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
IConnection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
IDataOperation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
IRead. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
IWrite. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 2: Informatica Cloud REST API. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Informatica Cloud REST API Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
REST API Response Formats. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
XML Schema Definition. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
API Test Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Documentation Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
REST API Guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Response Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Resource Quick Reference. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
activitylog. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
activitymonitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
agent. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table of Contents i
dnbbatch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
dnbworkflow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
login. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
org. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
runjob. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
salesforceversion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
schedule. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
servertime. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
user. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
ii Table of Contents
Preface
Welcome to Informatica Cloud, Informaticas hosted data services. Informatica Cloud uses functionality from
PowerCenter and Informatica Data Quality to provide easy-to-use, web-based data services.
The Informatica Cloud User Guide explains how organization administrators and business users can use
Informatica Cloud Services to perform tasks.
Informatica Resources
Informatica Documentation
The Informatica Documentation team takes every effort to create accurate, usable documentation. If you have
questions, comments, or ideas about this documentation, contact the Informatica Documentation team through
email at infa_documentation@informatica.com. We will use your feedback to improve our documentation. Let us
know if we can contact you regarding your comments.
The Documentation team updates documentation as needed. To get the latest documentation for your product,
navigate to Product Documentation from http://mysupport.informatica.com.
Informatica Web Site
You can access the Informatica corporate web site at http://www.informatica.com. The site contains information
about Informatica, its background, upcoming events, and sales offices. You will also find product and partner
information. The services area of the site includes important information about technical support, training and
education, and implementation services.
Informatica Cloud Web Site
You can access the Informatica Cloud web site at http://www.informaticacloud.com. This site contains information
about Informatica Cloud editions and services. It also provides information about partners, customers, and
upcoming events.
Informatica Cloud Community
You can access the Informatica Cloud Community at
https://community.informatica.com/community/products/informatica_cloud.
Use the Community to discuss and resolve technical issues in Informatica Cloud. You can also find technical tips,
documentation updates, and answers to frequently asked questions.
iii
Informatica Cloud Trust Site
You can access the Informatica Cloud trust site at http://trust.informaticacloud.com. This site provides real time
information about Informatica Cloud system availability, current and historical data about system performance, and
details about Informatica Cloud security policies.
Informatica Global Customer Support
To contact Informatica Global Customer Support:
Click the Support link in the Informatica Cloud application.
Use the WebSupport Service. WebSupport requires a user name and password. You can request a user name
and password at http://my.informatica.com.
Call 1-877-INFA-HELP (1-877-463-2435).
iv Preface
C H A P T E R 1
Informatica Cloud Toolkit
This chapter includes the following topics:
Informatica Cloud Toolkit Overview, 1
Development Process, 2
Informatica Cloud Architecture, 2
Informatica Cloud Toolkit Architecture, 4
IPlugin, 4
IRegistrationInfo, 5
IMetadata, 6
ITypeSystem, 6
IConnection, 7
IDataOperation, 7
Informatica Cloud Toolkit Overview
The Informatica Cloud Toolkit provides a set of application programming interface (API) components that allows
you to extend the capability of Informatica Cloud.
With the Informatica Cloud Toolkit, you can develop Informatica Cloud Connectors to read from or write to
endpoints that are not yet natively supported in Informatica Cloud. A connector can include the following
functionality:
Read data from an endpoint. You can develop a connector to read data as a source or lookup.
Write data to an endpoint. You can develop a connector to write data to a target.
When you import an Informatica Cloud Connector to an organization, the endpoint accessed by the connector
displays as a connection type in the Informatica Cloud application. An Informatica Cloud user can then create
connections for the connection type and use the connections in data synchronization tasks. For the user, the
Informatica Cloud Connector displays and performs like a native Informatica Cloud connection type.
Before you use the Informatica Cloud Toolkit to create an Informatica Cloud Connector, you must have knowledge
of Java, the endpoint that you want to use, and object-oriented programming.
Sample Project
The Informatica Cloud Toolkit provides a sample project that builds a sample connector. You can use the sample
project as a guide to using the Informatica Cloud Toolkit and as a template for your Informatica Cloud Connector.
1
The sample connector connects to a sample application that can serve as a host application for testing. The
sample application includes records and sample data.
To use the sample project and application, import the sample project to Eclipse and deploy the sample application
to the Google App Engine.
Development Process
To create an Informatica Cloud Connector, use the following process:
1. Use the Informatica Cloud Toolkit to create the Informatica Cloud Connector.
2. Perform unit testing.
Correct any known errors before continuing to the next step.
3. Contact Informatica to upload the connector for testing.
Informatica deploys the connector to a development organization in the development instance and creates a
user account for you. Once deployed, the connector is pushed to every Secure Agent in the organization.
4. Test the connector.
After the connector is deployed in the test organization, you can test the connector by creating connections
and using them in data synchronization tasks.
The connector is pushed to Secure Agents as two files. You can replace these files on a local Secure Agent
to test updates and changes.
5. Contact Informatica for certification and deployment.
Contact Informatica when development is complete. After the Informatica Cloud Team tests and certifies the
connector, the connector can be deployed to Informatica Cloud.
Best Practices
Implement a Java unit testing framework to validate method implementation. This can help debug and fix most
issues in isolated mode. It is easier to fix issues before deploying the connector to the test organization.
Assign a unique UUID for each connector. Use the same UUID in each version and update of the connector.
Informatica Cloud uses the UUID to identify the connector, and internal registration entries are created and
maintained based on the UUID.
Informatica Cloud Architecture
Before you create an Informatica Cloud Connector with the Informatica Cloud Toolkit, you should understand the
basic Informatica Cloud architecture.
2 Chapter 1: Informatica Cloud Toolkit
1. Informatica Cloud Secure Agent. A component of Informatica Cloud installed on a local machine that runs all
tasks and provides firewall access between external data sources and your organization.
The Secure Agent is installed on a local machine with a web browser and internet access. Secure Agent
machines require access to the Informatica Cloud repository as well as the sources and targets that you want
to use.
When the Secure Agent runs a task, it connects to the Informatica Cloud repository to access task details,
connects directly and securely to sources and targets, transfers data between sources and targets, and
performs any additional task requirements.
An organization can use unlimited Secure Agents to run jobs.
When selected for use in an organization, Informatica Cloud Connectors are deployed to all Secure Agents in
the organization.
2. Informatica Cloud repository. Securely stores organization and task metadata, and any additional metadata
created by users in the organization, at the Informatica Cloud hosting facility.
3. External and internal endpoints. The source and target systems that you want to access. You can connect
natively to the endpoints that Informatica Cloud supports. Or, you can use Informatica Cloud Connectors to
connect to endpoints that are not yet supported.
Informatica Cloud Architecture 3
Informatica Cloud Toolkit Architecture
The Informatica Cloud Toolkit provides the framework to develop connectors for Informatica Cloud. The
Informatica Cloud Toolkit uses the following high-level interfaces:
IPlugin. Top level interface.
- IRegistrationInfo. Defines connector metadata.
- IMetadata. Retrieves metadata from the endpoint.
- ITypeSystem. Retrieves datatypes from the endpoint and their mappings to Java datatypes.
- IConnection. Defines connection actions and properties.
- IDataOperation. Defines data operation information used by the IRead and IWrite interfaces.
- IRead. Defines how to read data from the endpoint.
- IWrite. Defines how to write data to the endpoint.
IPlugin
The top-level interface, IPlugin, provides a starting point for connector development. IPlugin calls objects created
by high-level interfaces, such as IConnection and IMetadata, and defines connector-level details, such as error
logging.
The following table describes the methods that you can use with the IPlugin interface:
Method Description
getConnection Returns an object that implements the IConnection interface.
IConnection defines how to connect to the endpoint.
getMetadata Returns an object that implements the IMetadata interface.
IMetadata retrieves endpoint metadata.
getReader Returns an object that implements the IRead interface.
Uses the IConnection interface to identify the connection to
use for the read.
getRegistrationInfo Returns an connector metadata as defined by the
IRegistrationInterface.
getWriter Returns an object that implements the IWrite interface.
Uses the IConnection interface to identify the connection to
use for the write.
getVersion Class Returns the connector version as defined by the
PluginVersion class.
The connector version uses the following format:
<major release>.<minor release>.<build number>.
For example: 1.3.11.
4 Chapter 1: Informatica Cloud Toolkit
Method Description
setContext Method Defines the context of the connector. The context can be read
or write.
setLogger Method Configures error logging. You can configure the logging levels
and the messages that you want to use.
You can create error, warning, or informational messages.
Messages can include a prefix and code, as well as message
text.
Messages are written to the session log for the job.
IRegistrationInfo
The registration interface, IRegistrationInfo, allows you to specify static connector metadata. Connector metadata
is critical information used internally by the Informatica Cloud Toolkit.
The following table describes the methods that you can use with the IRegistrationInfo interface:
Method Description
getConnectionAttributes Returns a list of all connection attributes as defined by the
ConnectionAttribute class.
getFieldAttributes Returns static field attribute information about the endpoint as
defined by the FieldAttribute class.
Assumes field attributes are valid for all fields, not specific to
a single field.
getName Returns the name of the connector endpoint.
The name can include chararacters and spaces.
getPluginDescription Returns the description for the connector.
getPluginShortName Returns the connector short name.
The short name should not include characters or spaces.
getPluginUUID Returns the unique identifier (UUID) of the connector.
getReadOperationAttributes Returns the design-time and runtime attributes of the read
operation as defined by the RecordAttribute class.
getRecordAttributes Returns static record attributes as defined by the
RecordAttribute class.
Assumes record attributes are valid for all records accessed
by the connector, not specific to a single record.
getTransformationAttributes Note: This method is not supported with this release.
getTransformationOperations Note: This method is not supported with this release.
IRegistrationInfo 5
Method Description
getTypeSystem Returns the endpoint system datatypes and the mapping to
Java datatypes as defined by the ITypeSystem class.
getWriteOperationAttributes Returns the design-time and runtime attributes of the write
operation as defined by the RecordAttribute class.
IMetadata
The metadata access interface, IMetadata, retrieves information about the endpoint that you want to use. With
IMetadata, you can implement metadata access from the endpoint using a native API, such as a WSAPI or any
Java API.
The following table describes the methods that you can use with the IMetadata interface:
Method Description
filterRecords Returns data based on search criteria passed as a regex
pattern.
getAllRecords Returns the names of all records in the endpoint.
getContainedRecords Note: This method is not supported with this release.
getDataPreview Returns a snapshot of data for the record.
The data preview is limited by the pageSize argument.
getFields Returns all fields in a record.
getFieldsForTransformation Note: This method is not supported with this release.
getRecordAttributeValue Returns the design-time attributes of a record.
getRelatedRecords Note: This method is not supported with this release.
ITypeSystem
The datatype interface, ITypeSystem, returns datatypes from the endpoint and their mappings to Java datatypes.
The following table describes the methods that you can use with the ITypeSystem interface:
Method Description
getNativeDataTypes Returns the datatypes used in the endpoint.
6 Chapter 1: Informatica Cloud Toolkit
Method Description
Datatypes should be modeled using the DataType class.
getDatatypeMapping Returns a mapping of endpoint datatypes to Java datatypes.
When modeling fields using the Field class, the Java datatype
in the Field object must be one of the Java datatypes listed for
the native datatype in this mapping.
IConnection
The connection interface, IConnection, defines connection actions and properties.
The following table describes the methods that you can use with the IConnection interface:
Method Description
connect Connects to the endpoint system.
disconnect Disconnects from the endpoint system.
setConnectionAttributes Defines connection properties, such as user name, password,
and application URL.
validate Note: This method is not supported with this release.
IDataOperation
The data operation interface, IDataOperation, defines data operation information used by the IRead and IWrite
interfaces.
The following table describes the methods that you can use with the IDataOperation interface:
Method Description
initializeAndValidate Intializes and validates runtime implementation.
setMetadataVersion Defines the metadata version used at the time of the creation
of the task.
setOperationAttributes Defines the runtime attributes for data operation, such as
filters.
setPrimaryRecord Defines the primary record to be used in the read or write
operation.
setRecordAttribute Defines the record attributes.
IConnection 7
Method Description
Note: This method is not supported with this release.
setSecondaryRecord Defines the secondary or related records to be used in the
read or write operation.
Note: This method is not supported with this release.
IRead
The read interface, IRead, is an extension of the IDataOperation interface. IRead allows you to read data natively
from the endpoint.
When you configure the read method, list fields in the same order returned by the setFieldList method. The
Informatica Cloud application determines the field order based on the source field order and the field mappings
configured in the task.
The following table describes the methods that you can use with the IRead interface:
Method Description
read Reads data from the endpoint natively and sends it to the
IOutputDataBuffer interface row by row.
List fields in the same order returned by the setFieldList
method.
Convert data to the appropriate Java datatype for the field.
setAdvancedFilters Defines the advanced filters to be used in the read.
setFieldList Defines the fields to be used in the read.
List fields in the same order returned by the Informatica Cloud
application.
setFilters Deflines the list of filters to be used in the read.
IWrite
The write interface, IWrite, is an extension of the IDataOperation interface. IWrite allows you to write data natively
to the endpoint.
When you configure the insert, update, upsert, and delete methods, list fields in the same order returned by the
setFieldList method. The Informatica Cloud application determines the field order based on the target field order.
The following table describes the methods that you can use with the IWrite interface:
Method Description
delete Obtains data from the IInputDataBuffer interface and deletes
it from the target.
8 Chapter 1: Informatica Cloud Toolkit
Method Description
List fields in the same order returned by the setFieldList
method.
insert Obtains data from the IInputDataBuffer interface and inserts it
to the target.
List fields in the same order returned by the setFieldList
method.
setFieldList Defines the fields to be used in the write.
update Obtains data from the IInputDataBuffer interface and updates
it in the target.
List fields in the same order returned by the setFieldList
method.
upsert Obtains data from the IInputDataBuffer interface. Inserts new
data to the target and updates existing data in the target.
List fields in the same order returned by the setFieldList
method.
IDataOperation 9
C H A P T E R 2
Informatica Cloud REST API
This chapter includes the following topics:
Informatica Cloud REST API Overview, 10
Documentation Conventions, 12
REST API Guidelines, 12
Response Codes, 14
Resource Quick Reference, 15
activitylog, 18
activitymonitor, 20
agent, 22
connection, 23
dnbbatch, 39
dnbworkflow, 41
login, 45
org, 46
register, 49
runjob, 53
salesforceversion, 55
schedule, 55
servertime, 62
user, 63
Informatica Cloud REST API Overview
The Informatica Cloud REST API allows you to access information from your Informatica Cloud organization. You
can also perform tasks such as create, update, and delete connections and schedules, start and monitor tasks and
task flows, and verify the Salesforce API version.
To use the Informatica Cloud REST API, you need a valid Informatica Cloud login and an understanding of REST
API guidelines.
To perform a task using the Informatica Cloud REST API, use the appropriate resource and method, along with
the applicable parameters. Informatica Cloud returns the requested information, performs the requested task, or
returns a response code and related messages.
10
The Informatica Cloud REST API provides the following resources:
activitylog. Returns job details from the Informatica Cloud activity log.
activitymonitor. Returns job details from the Informatica Cloud activity monitor.
agent. Returns the details of a Secure Agent or the details of all Secure Agents in the organization.
connection. Returns the details of a connection or the details of all connections in the organization. Creates or
updates a connection. Also deletes a connection.
dnbbatch. Returns or updates the definition of a D&B360 batch.
This resource is being depreciated. For similar and expanded functionality, use the dnbworkflow resource.
(Available for Informatica Cloud D&B360 partners only.)
dnbworkflow. Returns the details of a D&B360 workflow or the details of all D&B360 workflows in the
organization. Creates or updates a D&B360 workflow. Also deletes a D&B360 workflow. (Available for
Informatica Cloud D&B360 partners only.)
login. Creates an Informatica Cloud REST API session.
org. Returns or updates the details of an Informatica Cloud organization. Also deletes an Informatica Cloud
sub-organization.
register. Creates an Informatica Cloud organization. (Available for Informatica Cloud partners only.)
runjob. Starts a task or task flow.
salesforceversion. Returns the Salesforce version used by Informatica Cloud.
schedule. Returns the details of a schedule or the details of all schedules in the organization. Creates or
updates a schedule. Also deletes a schedule.
servertime. Returns the local time of the Informatica Cloud server.
user. Returns the details of a user account or the details of all user accounts in the organization. Creates or
updates a user account. Also deletes a user account.
REST API Response Formats
The Informatica Cloud REST API supports responses in JSON and XML. By default, responses are in XML.
The following code is a sample response in XML:
<?xml version="1.0" encoding="utf-8" ?>
<LoginResponse>
<errorCode>NO_ERROR</errorCode>
<errorMsg />
<sessionId>bZTxMxokc877HFBSlA1+bu1Gs/HcQB3pgKJ/pRWFwCJEXIGBp0IYhaenAzFAm6xH</sessionId>
</LoginResponse>
The following code is the same response in JSON:
{"errorCode":"NO_ERROR", "errorMsg":"",
"sessionId":"9U0aBR7uP3s1DfWjwvgwS5ly1ujsawDHezvBG4O36zphh3alMp0v0VtyhDd1r2ll"}
XML Schema Definition
You can access the Informatica Cloud API xml schema definition (XSD) at the following URL:
https://app.informaticaondemand.com/saas/api/ics_api_1.xsd
To use the XSD URL, log into Informatica Cloud, then enter the XSD URL.
Informatica Cloud REST API Overview 11
API Test Page
Informatica Cloud provides a test page where you can test the resources, methods, and parameters you want to
use. You can access the test page at the following URL:
https://app.informaticaondemand.com/saas/app/admin/apiTest.do
To use the test page URL, log into Informatica Cloud, then enter the test page URL.
Documentation Conventions
Informatica Cloud REST API documentation uses the following conventions:
Methods are in capital letters, such as GET.
Syntax descriptions use the following conventions:
- The resource name is separated from related parameters by a question mark ( ? ).
- Parameters are separated by ampersands ( & ).
- Parameter values are enclosed in angle brackets ( < > ).
- When listing a choice of parameter values, options are separated by a pipe ( | ).
- Optional parameters are in italics.
In the following example, the resource is runjob, the parameters are icSessionId, jobName, jobType, and
responseType. The responseType parameter is optional, and possible values for the parameter are xml or json:
runjob?icSessionId=<IC session ID>=&jobName=<task or taskflow name>&jobType=<task
type>&responseType=<xml|json>
REST API Guidelines
Use the following guidelines when working with Informatica Cloud REST API:
When constructing a request, configure the resource and parameters in the format you want to use for
submission.
If you do not specify a response type, Informatica Cloud returns responses in XML. To return results in JSON,
set the responseType parameter to json.
All resources and parameters are case sensitive.
Use the following URL as the base for all resource calls:
https://app.informaticaondemand.com/saas/api/1/
GET Example
The following code displays how you might use the activitymonitor resource to view information from the activity
monitor:
public void listActivityLog(String icSessionId, boolean details) {
try {
//Open connection for request
URL url = new URL("https://app.informaticaondemand.com/saas/api/1/activitymonitor");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
conn.setDoOutput(true);
12 Chapter 2: Informatica Cloud REST API
OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream());
//write parameters
String responseType = "XML";
StringBuilder sb = new StringBuilder();
sb.append("responseType=").append(responseType);
sb.append("&icSessionId=").append(icSessionId);
sb.append("&details=").append(details);
writer.write(sb.toString());
writer.flush();
// Get the response
StringBuffer answer = new StringBuffer();
BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
while ((line = reader.readLine()) != null) {
answer.append(line);
}
writer.close();
reader.close();
//Output the response
System.out.println(answer.toString());
} catch (MalformedURLException ex) {
ex.printStackTrace();
} catch (IOException ex) {
ex.printStackTrace(); } }
POST Example
The following code displays how you might use the login resource to log in and generate an Informatica Cloud
session ID:
public void login(String username, String password) {
try {
//Open connection for request
URL url = new URL("https://app.informaticaondemand.com/saas/api/1/login");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("POST");
conn.setDoOutput(true);
OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream());
//write parameters
String responseType = "XML";
StringBuilder sb = new StringBuilder();
sb.append("responseType=").append(responseType);
sb.append("&username=").append(username);
sb.append("&password=").append(password);
writer.write(sb.toString());
writer.flush();
// Get the response
StringBuffer answer = new StringBuffer();
BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
while ((line = reader.readLine()) != null) {
answer.append(line);
}
writer.close();
reader.close();
//Output the response
System.out.println(answer.toString());
} catch (MalformedURLException ex) {
ex.printStackTrace();
} catch (IOException ex) {
ex.printStackTrace(); } }
REST API Guidelines 13
Response Codes
Informatica Cloud REST API provides the following response codes:
Return Code Description
NO_ERROR The request completed without errors.
ACTIVITY_LOG_ERROR An error occurred while accessing the activity log.
ACTIVITY_MONITOR_ERROR An error occurred while accessing the activity monitor.
AGENT_ERROR An error occurred while accessing the Secure Agent.
CONNECTION_ERROR An error occurred while processing a connection.
DNB_BATCH_ERROR An error occurred while processing a D&B360 batch.
DNB_BATCH_SFLOGIN_ERROR You used an invalid Salesforce login with the dnbbatch resource.
DNB_WORKFLOW_ERROR An error occurred while processing a D&B360 workflow.
INVALID_SESSION_ID You used an invalid Informatica Cloud or Salesforce session ID.
INSUFFICIENT_PRIVILEGE You do not have the appropriate privilege to perform the request.
INSUFFICIENT_PERMISSION You do not have the appropriate permissions to perform the request.
LOGIN_AUTHENTICATION_FAILED Informatica Cloud was unable to authenticate the login. Verify that you are using
the correct user name and password.
LOGIN_INVALID_USERNAME You entered an invalid user name.
LOGIN_INVALID_SALESFORCE_SESSION You entered an invalid Salesforce session ID.
REGISTER_DUPLICATE_USERNAME The user name you want to create is already in use.
REGISTER_ERROR An error occurred while creating an Informatica Cloud organization.
REGISTER_INVALID_OFFER_CODE You entered an invalid partner offer code.
RUN_JOB_ERROR An error occurred while starting a task or task flow.
SCHEDULE_ERROR An error occurred while processing a schedule.
USER_ERROR An error occurred while using the user resource.
UNSUPPORTED_METHOD You used a method that is not supported in this version of the Informatica Cloud
REST API.
14 Chapter 2: Informatica Cloud REST API
Resource Quick Reference
The following table contains the syntax and a brief description of the Informatica Cloud REST API resources:
Resource Method Syntax Description
activitylog GET
activitylog?icSessionId=<IC session ID>
&rowLimit=<number of rows>
&responseType=<xml|json>
Returns information from the
activity log.
For more information, see
activitylog on page 18.
activitymonitor GET
activitymonitor?icSessionId=<IC session ID>
&details=<true|false>
&responseType=<xml|json>
Returns information from the
activity monitor.
For more information, see
activitymonitor on page 20.
agent GET
agent?icSessionId=<IC session ID>
&id=<Secure Agent ID>
&name=<Secure Agent name>
&responseType=<xml|json>
Returns the details of a Secure
Agent or of all Secure Agents in
the organization.
For more information, see
agent on page 22.
connection GET
connection?icSessionId=<IC session ID>
&id=<connection ID>
&name=<connection name>
&responseType=<xml|json>
Returns the details of a
connection or of all connections
in the organization.
For more information, see
connection on page 23.
POST For syntax based on connection type, see
connection on page 23.
Creates or updates a connection.
DELETE
connection?icSessionId=<IC session ID>
&id=<connection ID>
&name=<connection name>
&responseType=<xml|json>
Deletes a connection.
For more information, see
connection on page 23.
dnbbatch
Note: This
resource is being
depreciated. For
similar and
expanded
functionality, use
the dnbworkflow
resource.
GET
dnbbatch?icSessionId=<IC session ID>
&responseType=<xml|json>
Returns the details of a D&B360
batch.
For more information, see
dnbbatch on page 39.
POST
dnbbatch?icSessionId=<IC session ID>
&sfUsername=<Salesforce user name>
&sfPassword=<Salesforce password>
&sfSecurityToken=<Salesforce security token>
&rowLimit=<row limit>
&enableNewBatch=<new batch enabled>
&newBatchStartTime=<new batch start time>
&newBatchRepeatFrequency=<new batch repeat
frequency>
&newBatchRepeatInterval=<new batch repeat
interval>
&enableRefreshBatch=<refresh batch enabled>
&refreshBatchStartTime=<refresh batch start
time>
&refreshBatchRepeatFrequency=<refresh batch
repeat frequency>
&refreshBatchRepeatInterval=<refresh batch
repeat interval>
&responseType=<xml|json>
Updates the details of a D&B360
batch.
For more information, see
dnbbatch on page 39.
dnbworkflow GET
dnbworkflow?icSessionId=<IC session ID>
&id=<workflow ID>
&uname=<workflow identifier>
Returns the details of a D&B360
workflow or of all D&B360
workflows in the organization.
Resource Quick Reference 15
Resource Method Syntax Description
&name=<workflow name>
&responseType=<xml|json>
For more information, see
dnbworkflow on page 41.
POST
dnbworkflow?icSessionId=<IC session ID>
&id=<workflow ID>
&uname=<workflow unique identifier>
&name=<workflow name>
&description=<description>
&connectionId=<connection ID>
&connectionId2=<connection ID2>
&scheduleId=<schedule ID>
&rowLimit=<row limit>
&partnerProfile=<partner profile>
&companyCustomObject=<company custom object>
&adminCustomObject=<admin custom object>
&leadCustomObject=<lead custom object>
&odbcUser=<ODBC user>
&responseType=<xml|json>
Creates or updates a D&B360
workflow.
For more information, see
dnbworkflow on page 41.
DELETE
dnbworkflow?icSessionId=<IC session ID>
&id=<workflow ID>
&uname=<workflow unique identifier>
&name=<workflow name>
&responseType=<xml|json>
Deletes a D&B360 workflow.
For more information, see
dnbworkflow on page 41.
login POST
login?username=<IC username>
&password=<IC password>
&responseType=<xml|json>
or
login?sfSessionId=<Salesforce session ID>
&sfServerUrl=<Salesforce server URL>
&responseType=<xml|json>
Returns an Informatica Cloud
session ID that you can use to
perform additional API calls.
For more information, see
login on page 45.
org GET
org?icSessionId=<IC session ID>
&id=<organization ID>
&responseType=<xml|json>
Returns the details of an
Informatica Cloud organization.
For more information, see
org on page 46.
POST
org?icSessionId=<IC session ID>
&id=<organization ID>
&orgName=<organization name>
&address=<org address>
&address2=<additional address info>
&address3=<additional address info>
&city=<city>
&state=<state>
&zipcode=<zip code>
&country=<country>
&description=<org description>
&email=<email address>
&responseType=<xml|json>
Updates Informatica Cloud
organization details. For more
information, see org on page
46.
DELETE
org?icSessionId=<IC session ID>
&id=<organization ID>
&responseType=<xml|json>
Deletes an Informatica Cloud sub-
organization. For more
information, see org on page
46.
register POST
register?offerCode=<offer code>
&sfSessionId=<Salesforce session ID>
&sfServerUrl<Salesforce URL>
&responseType=<xml|json>
or
register?parentSessionID=<IC session ID to
create sub-org>
&offerCode=<offer code>
&orgName<organization name>
&firstName=<first name>
&lastName=<last name>
&title=<title>
&email=<email address>
Creates an Informatica Cloud
organization.
For more information, see
register on page 49.
16 Chapter 2: Informatica Cloud REST API
Resource Method Syntax Description
&phone=<phone number>
&timeZone=<timezone>
&address=<address>
&city=<city>
&state=<state>
&zipcode=<zip code>
&country=<country>
&employees=<employees>
&responseType=<xml|json>
runjob POST
runjob?icSessionId=<IC session ID>
&jobName=<task or taskflow name>
&jobType=<task type>
&responseType=<xml|json>
or
runjob?username=<IC user name>
&password=<IC password>
&jobName=<task or taskflow name>
&jobType=<task type>
&responseType=<xml|json>
Start a task or task flow.
For more information, see
runjob on page 53.
salesforceversion GET
salesforceversion?responseType=<xml|json>
Returns the Salesforce version
used by Informatica Cloud.
For more information, see
salesforceversion on page 55.
schedule GET
schedule?icSessionId=<IC session ID>
&id=<schedule ID>
&name=<schedule name>
&responseType=<xml|json>
Returns the details of a schedule
or of all schedules in the
organization.
For more information, see
schedule on page 55.
POST
schedule?icSessionId=<IC session ID>
&id=<schedule ID>
&name=<schedule name>
&description=<description>
&startTime=<schedule start time>
&endTime=<schedule end time>
&interval=<interval>
&frequency=<frequency>
$rangeStartTime=<daily start time>
&rangeEndTime=<daily end time>
&sun=<Sunday>
&mon=<Monday>
&tue=<Tuesday>
&wed=<Wednesday>
&thu=<Thursday>
&fri=<Friday>
&sat=<Saturday>
&weekDay=<run on weekdays>
&dayOfMonth=<date of the month>
&weekOfMonth=<week of the month>
&dayOfWeek=<day of the week>
&responseType=<xml|json>
Creates or updates a schedule.
For more information, see
schedule on page 55.
DELETE
schedule?icSessionId=<IC session ID>
&id=<schedule ID>
&name=<schedule name>
&responseType=<xml|json>
Deletes a schedule.
For more information, see
schedule on page 55.
servertime GET
servertime?responseType=<xml|json>
Returns the local time for the
Informatica Cloud server.
For more information, see
servertime on page 62.
user GET
user?icSessionId=<IC session ID>
&username=<IC user name>
&responseType=<xml|json>
Returns the details of an
Informatica Cloud user account
Resource Quick Reference 17
Resource Method Syntax Description
or of all user accounts in the
organization.
For more information, see
user on page 63.
POST
user?icSessionId=<IC session ID>
&username=<IC user name>
&sfUsername=<Salesforce user name>
&password=<Salesforce password>
&firstName=<first name>
&lastName=<last name>
&title=<title>
&phone=<phone>
&email=<email>
&description=<description>
&timeZone=<time zone>
&responseType=<xml|json>
Creates or updates an
Informatica Cloud user account.
For more information, see
user on page 63.
DELETE
user?icSessionId=<IC session ID>
&username=<user name>
&responseType=<xml|json>
Deletes an Informatica user
account.
For more information, see
user on page 63.
activitylog
Use this resource to return information from the activity log.
GET Request Syntax
activitylog?icSessionId=<IC session ID>&rowLimit=<number of rows>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
rowLimit Optional The maximum number of rows to return.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
18 Chapter 2: Informatica Cloud REST API
GET Response Return
Returns the following information from the activity log:
Element Name Description
Type Task type. Returns one of the following codes:
- AVS. Contact Validation task.
- DQA. Data assessment task.
- DRS. Data replication task.
- DSS. Data synchronization task.
- PCS. PowerCenter task.
- Workflow. Task flow.
- DNB_Task. D&B360 task.
- DNB_Workflow. D&B360 workflow.
objectName Task name.
runId ID for the task run.
startTime Start time for the task or task flow.
endTime End time for the task or task flow.
success Whether the task completed successfully. Returns one of the following codes:
- true. The task completed successfully or with errors.
- false. The task failed to complete.
failedSourceRows Number of rows that were not read from the source.
successSourceRows Number of rows that were successfully read from the source.
failedTargetRows Number of rows that were not written to the target.
successTargetRows Number of rows that were successfully written to the target.
errorMsg Error message associated with the job.
entries Indicates the start of information for a child object. A child object might be a task within a task flow, or
an object in a data replication task or D&B360 workflow.
The following is a sample return in XML:
<?xml version="1.0" encoding="utf-8"?>
<ActivityLogResponse>
<errorCode>NO_ERROR</errorCode>
<errorMsg></errorMsg>
<entries> <ActivityLogEntry>
<type>WORKFLOW</type>
<objectName>task flow</objectName>
<runId>1</runId>
<startTime>2011-05-06T19:38:38.000Z</startTime>
<endTime>2011-05-06T19:39:35.000Z</endTime>
<success>1</success>
<failedSourceRows>0</failedSourceRows>
<successSourceRows>60</successSourceRows>
<failedTargetRows>0</failedTargetRows>
<successTargetRows>60</successTargetRows>
<entries> <ActivityLogEntry>
<type>DRS</type>
<objectName>DRS</objectName>
<runId>9</runId>
<startTime>2011-05-06T19:38:38.000Z</startTime>
activitylog 19
<endTime>2011-05-06T19:39:16.000Z</endTime>
<success>1</success>
<failedSourceRows>0</failedSourceRows>
<successSourceRows>26</successSourceRows>
<failedTargetRows>0</failedTargetRows>
<successTargetRows>26</successTargetRows>
<entries> <ActivityLogEntry>
<type>DRS</type>
<objectName>Lead</objectName>
<runId>0</runId>
<startTime>2011-05-06T19:38:42.000Z</startTime>
<endTime>2011-05-06T19:38:51.000Z</endTime>
<success>1</success>
<failedSourceRows>0</failedSourceRows>
<successSourceRows>22</successSourceRows>
<failedTargetRows>0</failedTargetRows>
<successTargetRows>22</successTargetRows>
<errorMsg>No errors encountered.</errorMsg>
</ActivityLogEntry>
Example
To return 20 rows from the activity log, you might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/activitylog
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
rowLimit=20
Note that because the response type was not defined, Informatica Cloud returns the response in XML.
activitymonitor
Use this resource to return information from the activity monitor.
GET Request Syntax
activitymonitor?icSessionId=<IC session ID>&details=<true|false>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
details Optional Activity monitor detail to be returned from Informatica Cloud. Use one of the following options:
- true. Returns activity monitor information for tasks and task flows. Also returns details for
child objects, such as tasks within task flows, and the objects within data replication tasks
and D&B360 workflows.
- false. Returns activity monitor information for tasks and task flows.
By default, activitymonitor returns information for tasks and task flows, without additional details
about child objects.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
20 Chapter 2: Informatica Cloud REST API
GET Response Return
The following information about tasks and task flows from the activity monitor:
Element Name Description
Type Task type. Returns one of the following codes:
- AVS. Contact Validation task.
- DQA. Data assessment task.
- DRS. Data replication task.
- DSS. Data synchronization task.
- PCS. PowerCenter task.
- Workflow. Task flow.
- DNB_Task. D&B360 task.
- DNB_Workflow. D&B360 workflow.
taskName Task name.
objectName Source object used in the task, or the data replication or D&B360 object being processed.
runId ID for the task run.
startTime Start time for the task or task flow.
endTime End time for the task or task flow.
executionState State of the task. Returns one of the following codes:
- INITIALIZED
- RUNNING
- STOPPING
- COMPLETED
- FAILED
failedSourceRows Number of rows that were not read from the source.
successSourceRows Number of rows that were successfully read from the source.
failedTargetRows Number of rows that were not written to the target.
successTargetRows Number of rows that were successfully written to the target.
errorMsg Error message associated with the job.
entries Indicates the start of information for a child object. A child object might be a task within a task flow, or
an object in a data replication task or D&B360 workflow.
Example
To request information about tasks and task flows from the activity monitor, you might use the following URL and
parameters:
https://app.informaticaondemand.com/saas/api/1/activitymonitor
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
details=false
activitymonitor 21
agent
Use this resource to return the details of an Informatica Cloud Secure Agent or the details of all Secure Agents in
the organization.
GET Request Syntax
To view the details of a Secure Agent, use the following syntax. To view the details of all Secure Agents in the
organization, omit the id and name parameters.
agent?icSessionId=<IC session ID>&id=<Secure Agent ID>&name=<Secure Agent name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Secure Agent ID. To view the details of a Secure Agent, use id or name.
name Optional Secure Agent name. To view the details of a Secure Agent, use id or name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Response Return
When you request details of a single Secure Agent, Informatica Cloud returns the following information for the
Secure Agent. When you request the details of all Secure Agents, Informatica Cloud returns the following
information for all Secure Agents in the organization.
Element Name Description
id Secure Agent ID.
name Secure Agent name.
description Description of the Secure Agent.
active Whether or not the Secure Agent is Active:
- true. Active.
- false. Inactive.
platform Platform of the Secure Agent machine.
hostname Host name of the Secure Agent machine.
Example
To return details for the MyAgent Secure Agent, you might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/agent
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
name=MyAgent
Note that because the response type was not defined, Informatica Cloud returns the response in XML.
22 Chapter 2: Informatica Cloud REST API
connection
Use this resource to view the details of a connection or the details of all connections in the organization. You can
also create or update a connection, and you can delete a connection.
GET Request Syntax
To view the details of a connection, use the following syntax. To view the details of all connections in the
organization, omit the id and name parameters.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection name>&responseType=<xml|
json>
Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID. To view the details of a connection, use id or name.
name Optional Connection name. To view the details of a connection, use id or name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Response Return
When you request the details of a single connection, Informatica Cloud returns the following information for the
connection. When you request the details of all connections in the organization, Informatica Cloud returns the
following information for each connection.
Informatica Cloud returns the parameters relevant to the connection type.
GET Return Parameter Description
id Connection ID.
name Connection name.
description Description of the connection.
createTime Time the connection was created.
updateTime Last time the connection was updated.
createdBy User who created the connection.
updatedBy User who last updated the connection.
connection 23
GET Return Parameter Description
type Connection type. Returns one of the following responses:
- CSVFile. CSV flat file.
- FTP.
- NetSuite.
- MSD. Microsoft Dynamics CRM.
- SqlServer. Microsoft SQL Server.
- SqlServer2005. Microsoft SQL Server 2005.
- SqlServer2008. Microsoft SQL Server 2008.
- MS_ACCESS.
- MySQL.
- ODBC.
- Oracle.
- OCOD. Oracle CRM On Demand.
- Salesforce.
- SFTP. Secure FTP.
- SAP_ALE_IDoc_Reader. SAP IDoc Reader.
- SAP_ALE_IDoc_Writer. SAP IDoc Writer.
- WebServicesConsumer. Web Service.
username User name for the connection.
password Password for the connection.
securityToken Security token for a Salesforce connection.
host Host name for FTP/SFTP, Microsoft SQL Server, MySQL, and Oracle connections.
port Port number for FTP/SFTP, Microsoft SQL Server, MySQL, and Oracle connections.
database Returns the following information:
- For Microsoft SQL Server and MySQL connections, returns the database name.
- For Flat File connections, returns the directory.
- For FTP/SFTP connections, returns the local directory.
- For MS Access and ODBC connections, returns the data source name.
- For Oracle connections, returns the service name.
- For SAP IDoc Writer and Reader connections, returns the destination entry.
- For Web Service connections, returns the service URL.
schema Schema name for Microsoft SQL Server, ODBC, Oracle, and Web Service connections.
instanceName Microsoft SQL Server instance name.
codepage Code page for Flat File, FTP/SFTP, Microsoft SQL Server, MySQL, MS Access, ODBC, Oracle,
and SAP.
dateFormat Date format for Flat File and FTP/SFTP connections.
remoteDirectory Remote directory for FTP/SFTP connections.
serviceUrl Service URL for Microsoft Dynamics CRM, Oracle CRM On Demand, and Salesforce connections.
stsUrl Security token service URL for Microsoft Dynamics CRM connections that use Active Directory
authentication.
authenticationType Authentication type for Microsoft Dynamics CRM and Web Service connections.
24 Chapter 2: Informatica Cloud REST API
GET Return Parameter Description
accountNumber The account ID for NetSuite connections.
organizationName Organization name for Microsoft Dynamics CRM connections.
languageCode Language code for SAP IDoc Writer connections.
clientCode Client code for SAP IDoc Writer connections.
domain Domain name for Microsoft Dynamics CRM connections that use IFD or Active Directory
authentication, and Web Service connections.
timeout Timeout for Web Service connections.
trustCertificatesFile Trust certificates file name for Web Service connections.
certificateFile Certificates file name for Web Service connections.
certificateFilePassword Certificates file password for Web Service connections.
certificateFileType Certificates file type for Web Service connections.
privateKeyFile Private key file name for Web Service connections.
privateKeyPassword Private key password for Web Service connections.
privateKeyFileType Private key file type for Web Service connections.
agent Secure Agent ID for Flat File, FTP/SFTP, Microsoft SQL Server, MS Access, MySQL, ODBC,
Oracle, and Web Service connections.
POST Request Syntax
This section describes the syntax to create or update connections. See the connection type for details.
You can use an agent GET request to retrieve the Secure Agent ID required for some connection types. To
retrieve connection IDs, you can use a connection GET request.
When you pass both the connection ID and the connection name, the connection ID takes precedence. For
example, if you pass a connection ID of 234 and a connection name of "MSD1", Informatica Cloud looks for a
connection with the 234 ID. If it finds it, it updates the connection name to MSD1 as well as any other parameter
updates that you pass. If it does not find the connection ID, it creates a new connection based on the parameters
that you pass.
connection 25
To create or update a CSV Flat File connection, use the following syntax.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=CSVFile&database=<directory>&dateFormat=<date
format>&codepage=<code page>&agentId=<Secure Agent ID>&responseType=<xml|json>
CSV Flat File Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use CSVFile.
database Required Directory where flat files are stored.
dateFormat Required Date format for date fields in the flat file. Use a valid format, such as MM/dd/yyyy
HH:mm:ss.
codepage Required The code page of the system that hosts the flat file. Use one of the following
options:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update an FTP/SFTP connection, use the following syntax.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=<FTP|SFTP>&username=<user name>&password=<password>&host=<host
name>&port=<port>&database=<local directory>&remoteDirectory=<remote dir>&dateFormat=<date
format>&codepage=<code page>&agentId=<Secure Agent ID>&responseType=<xml|json>
FTP/SFTP Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use FTP or SFTP.
username Required User name.
26 Chapter 2: Informatica Cloud REST API
FTP/SFTP Parameter Required/
Optional
Description
password Required Password.
host Required Name of the machine hosting the database server or FTP/SFTP host. For a FTP/SFTP
connection, enter the host name or IP address.
port Required Network port number used to connect to FTP/SFTP connection. Default port is 21 for
FTP and 22 for SFTP.
database Required Directory on a local machine that stores the local file.
The local machine must also run the Secure Agent used to run the corresponding task.
Enter a local directory or use the Browse button to select a local directory.
remoteDirectory Required Directory on the FTP/SFTP host that stores the remote flat file.
Depending on the FTP/SFTP server, you may have limited options to enter directories.
For more information, see the FTP/SFTP server documentation.
dateFormat Required Date format for date fields in the flat file. Use a valid format, such as MM/dd/yyyy
HH:mm:ss.
codepage Required The code page of the system that hosts the flat file. Use one of the following options:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update a Microsoft Dynamics CRM connection, use the following syntax.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=MSD&authenticationType=<auth type>&username<user
name>&password=<password>&organizationName=<MSD org name>&domain=<domain>&serviceUrl=<service
URL>&stsUrl=<sts URL>&agentId=<Secure Agent ID>&responseType=<xml|json>
Microsoft Dynamics
CRM Parameter
Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use MSD.
connection 27
Microsoft Dynamics
CRM Parameter
Required/
Optional
Description
authenticationType Required Authentication type for the connection. Select a valid authentication
type. Use one of the following authentication types:
- LIVE. Microsoft Live. Use for data synchronization tasks or
PowerCenter tasks.
- IFD. Internet Facing Development (IFD). Use for data synchronization
tasks or PowerCenter tasks.
- AD. Active Directory. Use for PowerCenter tasks only.
username Required Microsoft Dynamics CRM user name.
password Required Microsoft Dynamics CRM password.
organizationName Required Microsoft Dynamics CRM organization name.
domain Optional
Required for IFD and
Active Directory
authentication
Microsoft Dynamics CRM domain name.
IFD and Active Directory authentication only.
serviceUrl Required URL of the Microsoft Dynamics CRM service.
For Microsoft Live authentication, use the following format:
https:// <orgname>.crm.dynamics.com
For IFD authentication, use the following format:
https://<server.company.com>:<port>
For Active Directory, use the following format:
http://<server.company.com>:<port>
stsUrl Optional
Required for IFD
authentication
Microsoft Dynamics CRM security token service URL. For example,
https:// sts1.company.com.
IFD authentication only.
agentId Optional
Required for Active
Directory
authentication
Secure Agent ID.
Active Directory authentication only.
responseType Optional Format for the response from Informatica Cloud. Use one of the
following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
28 Chapter 2: Informatica Cloud REST API
To create or update a MS Access connection, use the following syntax.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=MS_ACCESS&database=<DSN>&codepage=<code page>&agentId=<Secure
Agent ID>&responseType=<xml|json>
MS Access Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use MS_ACCESS.
database Required Data source name.
codepage Required The code page compatible with the MS Access database. Use one of the following
options:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update a MySQL connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=MySQL&username=<username>&password=<password>&host=<host>&port=<po
rt>&database=<database>&codepage=<code page>&agentId=<Secure Agent ID>&responseType=<xml|json>
MySQL Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use MySQL.
username Required User name for the database login.
password Required Password for the database login.
host Required Name of the machine hosting the database server.
connection 29
MySQL Parameter Required/
Optional
Description
port Required Network port number used to connect to the database server. Default is 3306.
database Required Database name for the MySQL database target. Database name is case sensitive if the
database is case sensitive.
Maximum length is 64 characters. Valid characters are alphanumeric and underscore.
codepage Required The code page of the database server. Use one of the following options:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update a NetSuite connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=NetSuite&username=<username>&password=<password>&accountNumber=<ac
count ID>&serviceURL=<WSDL URL>&responseType=<xml|json>
NetSuite Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use NetSuite.
username Required NetSuite user name.
password Required NetSuite password.
accountNumber Required NetSuite account ID. To locate your account ID, log in to NetSuite and navigate to
Setup > Integration > Web Services Preferences.
serviceUrl Required WSDL URL. Default WSDL URL is:
https://webservices.netsuite.com/wsdl/v2010_2_0/netsuite.wsdl
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
30 Chapter 2: Informatica Cloud REST API
To create or update an ODBC connection, use the following format:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=ODBC&username=<user
name>&password=<password>&database<DSN>&schema=<schema>&codepage=<code page>&agentId=<Secure Agent
ID>&responseType=<xml|json>
ODBC Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use ODBC.
username Required User name for the database login.
password Required Password for the database login.
database Required Data source name.
schema Optional
Required to connect to
IBM DB2
Schema used for the target connection.
Use uppercase letters when you specify the schema name for an Oracle
database.
Required to connect to an IBM DB2 database.
codepage Required The code page of the database server or flat file defined in the connection.
Use one of the following options:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following
options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update an Oracle connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=Oracle&username=<user
name>&password=<password>&host=<host>&port=<port>&database=<service
name>&schema=<schema>&codepage=<code page>&agentId=<Secure Agent ID>&responseType=<xml|json>
Oracle Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
connection 31
Oracle Parameter Required/
Optional
Description
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use Oracle.
username Required User name for the database login.
password Required Password for the database login.
host Required Name of the machine hosting the database server.
port Required Network port number used to connect to the database server. Default is 1521.
database Required Service name that uniquely identifies the Oracle database. If the connection fails, contact
the database administrator.
schema Optional Schema used for the target connection.
codepage Required The code page of the database server. Select one of the following code pages:
- MS Windows Latin 1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent that Informatica Cloud uses to access the database in the local area
network.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update an Oracle CRM On Demand connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=OCOD&username=<user name>&password=<password>&serviceUrl=<service
URL>&responseType=<xml|json>
Oracle CRM On
Demand Parameter
Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use OCOD.
username Required Oracle CRM On Demand user name. Use the following format:
<domain>/<user name>
32 Chapter 2: Informatica Cloud REST API
Oracle CRM On
Demand Parameter
Required/
Optional
Description
For example: domain/jsmith@companyname.com.
password Required Oracle CRM On Demand password.
serviceUrl Required URL of the Oracle CRM On Demand service. For example: https://
securecompany.crmondemand.com.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update a Salesforce connection, use the following syntax.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=Salesforce&username=<user
name>&password=<password>&securityToken=<security token>&serviceUrl=<serviceURL>&responseType=<xml|
json>
Salesforce Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use Salesforce.
username Required User name for the Salesforce account.
password Required Password for the Salesforce account.
securityToken Optional Security token associated with the user name and password.
serviceUrl Required URL of the Salesforce service. Maximum length is 100 characters.
Default service URL is:
https://www.salesforce.com/services/Soap/u/22.0
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update an SAP IDoc Writer connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=SAP_ALE_IDoc_Writer&username=<user
connection 33
name>&password=<password>&database=<destination entry>&languageCode=<language code>&clientCode=<client
code>&codepage=<code page>&agentId=<Secure Agent ID>&responseType=<xml|json>
SAP IDoc Writer
Parameter
Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use SAP_ALE_IDoc_Writer.
username Required SAP user name with authorization on S_DATASET, S_TABU_DIS, S_PROGRAM,
and B_BTCH_JOB objects.
password Required Password for the SAP user name.
database Required Type A DEST entry in saprfc.ini.
languageCode Required Language code that corresponds to the SAP language. A two-letter code, such as
en for English.
clientCode Required SAP client number. A three-letter code.
codepage Required The code page compatible with the SAP target. Select one of the following code
pages:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update an SAP IDoc Reader connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=SAP_ALE_IDoc_Reader&database=<destination entry>&codepage=<code
page>&agentId=<Secure Agent ID>&responseType=<xml|json>
SAP ALE IDoc
Reader Parameter
Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
34 Chapter 2: Informatica Cloud REST API
SAP ALE IDoc
Reader Parameter
Required/
Optional
Description
type Required Connection type. Use SAP_ALE_IDoc_Reader.
database Required Type R DEST entry in saprfc.ini.
The Program ID for this destination entry must be the same as the Program ID for the
logical system you defined in SAP to receive IDocs or consume business content data.
For business content integration, set to INFACONTNT.
codepage Required The code page compatible with the SAP source. Select one of the following code
pages:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update a Microsoft SQL Server connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=<SqlServer|SqlServer2005|SqlServer2008>&username=<user
name>&password=<password>&host=<host>&port=<port>&instanceName=<instance
name>&database=<database>&schema=<schema>&codepage=<code page>&agentId=<Secure Agent
ID>&responseType=<xml|json>
Microsoft SQL
Server Parameter
Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use one of the following codes:
- SqlServer. Use for SqlServer2000.
- SqlServer2005.
- SqlServer2008.
username Required User name for the database login.
password Required Password for the database login.
host Required Name of the machine hosting the database server.
port Required Network port number used to connect to the database server. Default port
number is 1433.
connection 35
Microsoft SQL
Server Parameter
Required/
Optional
Description
instanceName Optional Instance name of the Microsoft SQL Server database.
database Required Database name for the Microsoft SQL Server target. Database name is case
sensitive if the database is case sensitive. Maximum length is 100
characters.
Database names can include alphanumeric and underscore characters.
schema Optional
Required for
Microsoft SQL
Server 2005 and
2008
Schema used for the target connection.
Required for Microsoft SQL Server 2005 and Microsoft SQL Server 2008
databases.
codepage Required The code page of the Microsoft SQL Server database. Select one of the
following code pages:
- MS Windows Latin1. Select for ISO 8859-1 Western European data.
- UTF-8. Select for Unicode data.
agentId Required Secure Agent ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following
options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create or update a Web Services connection, use the following syntax:
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection
name>&description=<description>&type=WebServicesConsumer&username=<user
name>&password=<password>&domain=<domain>&serviceUrl=<endpoint
URL>&timeout=<timeout>&trustCertificatesFile=<trust certificates file>&certificateFile=<certificate
file>&certificateFilePassword=<certificate file password>&certificateFileType=<PEM|
DER>&privateKeyFile=<private key
file>&privateKeyPassword=<privateKeyPassword>&privateKeyFileType=PEM&authenticationType=<auth
type>&agentId=<Secure Agent ID>&responseType=<xml|json>
Web Service Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID.
name Required Connection name.
description Optional Description of the connection.
type Required Connection type. Use WebServicesConsumer.
username Optional User name for the web service login. If the web service does not require a user
name, leave this field empty.
36 Chapter 2: Informatica Cloud REST API
Web Service Parameter Required/
Optional
Description
password Optional Password for the web service login. If the web service does not require a user
name, leave this field empty.
domain Optional Domain for authentication.
serviceUrl Optional Endpoint URL for the web service that you want to access. The WSDL file specifies
this URL in the location element.
timeout Optional Number of seconds Informatica Cloud waits for a connection to the web service
provider before it closes the connection and fails the session. Also, the number of
seconds the Informatica Cloud waits for a SOAP response after sending a SOAP
request before it fails the session.
Default is 60 seconds.
trustCertificatesFile Optional File containing the bundle of trusted certificates that Informatica Cloud uses when
authenticating the SSL certificate of the web services provider. Default is ca-
bundle.crt.
certificateFile Optional Client certificate that a web service provider uses when authenticating a client. You
specify the client certificate file if the web service provider needs to authenticate
Informatica Cloud.
certificateFilePassword Optional Password for the client certificate. You specify the certificate file password if the
web service provider needs to authenticate Informatica Cloud.
certificateFileType Optional File type of the client certificate. You specify the certificate file type if the web
service provider needs to authenticate the Integration Service. Use one of the
following codes:
- PEM
- DER
privateKeyFile Optional Private key file for the client certificate. You specify the private key file if the web
service provider needs to authenticate Informatica Cloud.
privateKeyPassword Optional Password for the private key of the client certificate. You specify the key password
if the web service provider needs to authenticate Informatica Cloud.
privateKeyFileType Optional File type of the private key of the client certificate. You specify the key file type if
the web service provider needs to authenticate Informatica Cloud.
If necessary, use PEM.
authenticationType Optional Authentication type to use when the web service provider does not return an
authentication type to Informatica Cloud. Use one of the following options:
- Auto. The Integration Service attempts to determine the authentication type of
the web service provider.
- Basic. Based on a non-encrypted user name and password.
- Digest. Based on an encrypted user name and password.
- NTLM. Based on encrypted user name, password, and domain.
Default is Auto.
connection 37
Web Service Parameter Required/
Optional
Description
agentId Required ID for the Secure Agent that Informatica Cloud uses to access the database in the
local area network.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
A code indicating the success or failure of the request:
true. The request was successful.
false. The request failed.
DELETE Request Syntax
To delete a connection, use the following syntax. You can use a connection GET request to retrieve the
connection ID or name.
connection?icSessionId=<IC session ID>&id=<connection ID>&name=<connection name>&responseType=<xml|
json>
Parameter Required/
Optional
Description
icSessionId Required The Informatica Cloud REST API session ID.
id Optional Connection ID. To delete a connection, use id or name.
name Optional Connection name. To delete a connection, use id or name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
DELETE Response Return
A code indicating the success or failure of the request:
true. The request was successful.
false. The request failed.
Example
To create an MSD connection that uses Microsoft Live authentication, you might use the following URL and
parameters:
https://app.informaticaondemand.com/saas/api/1/connection
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
name=MSD Live
type=MSD
authenticationType=LIVE
username=user
38 Chapter 2: Informatica Cloud REST API
password=password
organizationName=orgname
serviceURL=https://mycompany.crm.dynamics.com
responseType=JSON
dnbbatch
Note: This resource is being depreciated. For similar and expanded functionality, use the dnbworkflow resource.
Use this resource to view or update the details of a D&B360 batch. For Informatica Cloud D&B360 partners only.
GET Request Syntax
To view the details of a D&B360 batch, use the following syntax.
dnbbatch?icSessionId=<IC session ID>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Response Return
When you request details about the D&B360 batch, Informatica Cloud returns the following information:
Parameter Description
sfUsername Salesforce user name.
sfPassword Salesforce password.
sfSecurityToken Salesforce security token.
sfServiceUrl Salesforce URL.
rowLimit Batch row limit.
enableNewBatch Whether a new batch is enabled.
newBatchStartTime New batch start time.
newBatchRepeatFrequency New batch repeat frequency.
newBatchRepeatInterval New batch repeat interval.
enableRefreshBatch Whether a refresh batch is enabled.
dnbbatch 39
Parameter Description
refreshBatchStartTime Refresh batch start time.
refreshBatchRepeatFrequency Refresh batch repeat frequency.
refreshBatchRepeatInterval Refresh batch repeat interval.
POST Request Syntax
To update the details of a D&B360 batch, use the following syntax:
dnbbatch?icSessionId=<IC session ID>&sfUsername=<Salesforce user name>&sfPassword=<Salesforce
password>&sfSecurityToken=<Salesforce security token>&rowLimit=<row limit>&enableNewBatch=<new batch
enabled>&newBatchStartTime=<new batch start time>&newBatchRepeatFrequency=<new batch repeat
frequency>&newBatchRepeatInterval=<new batch repeat interval>&enableRefreshBatch=<refresh batch
enabled>&refreshBatchStartTime=<refresh batch start time>&refreshBatchRepeatFrequency=<refresh batch
repeat frequency>&refreshBatchRepeatInterval=<refresh batch repeat interval>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
sfUsername Required Salesforce user name.
sfPassword Required Salesforce password.
sfSecurityToken Optional Salesforce security token.
rowLimit Optional Batch row limit.
enableNewBatch Optional Whether a new batch is enabled.
newBatchStartTime Optional New batch start time. Required if a new batch is enabled.
newBatchRepeatFrequency Optional New batch repeat frequency. Required if a new batch is enabled.
newBatchRepeatInterval Optional New batch repeat interval. Required if a new batch is enabled.
enableRefreshBatch Optional Whether a refresh batch is enabled.
refreshBatchStartTime Optional Refresh batch start time. Required if a refresh batch is enabled.
refreshBatchRepeatFrequency Optional Refresh batch repeat frequency. Required if a refresh batch is enabled.
refreshBatchRepeatInterval Optional Refresh batch repeat interval. Required if a refresh batch is enabled.
responseType Optional Format for the response from Informatica Cloud. Use one of the following
options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
A code that indicates the success or failure of the update.
40 Chapter 2: Informatica Cloud REST API
Example
To view information about a D&B360 batch, you might use the following URL and parameter:
https://app.informaticaondemand.com/saas/api/1/dnbbatch
Parameter:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
dnbworkflow
Use this resource to view the details of a D&B360 workflow or the details of all D&B360 workflows in the
organization. You can also create or update a D&B360 workflow, and you can delete a D&B360 workflow. For
Informatica Cloud D&B360 partners only.
GET Request Syntax
To view the details of a D&B360 workflow, use the following syntax. To view details of all D&B360 workflows, omit
the id, uname, and name parameters.
dnbworkflow?icSessionId=<IC session ID>&id=<workflow ID>&uname=<workflow identifier>&name=<workflow
name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Optional Workflow ID. To view the details of a D&B360 workflow, use id, uname, or name.
uname Optional Workflow unique identifier. To view the details of a D&B360 workflow, use id, uname, or name.
name Optional Workflow name. To view the details of a D&B360 workflow, use id, uname, or name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Response Return
When you request details of a single D&B360 workflow, Informatica Cloud returns the following information. When
you request the details of all D&B360 workflows in the organization, Informatica Cloud returns the following
information for each workflow.
Parameter Description
id Workflow ID.
name Workflow name.
uname Workflow unique identifier.
dnbworkflow 41
Parameter Description
description Description of the workflow.
createTime When the workflow was created.
updateTime When the workflow was last updated.
createdBy D&B360 user who created the workflow.
updatedBy D&B360 user who updated the workflow.
rowLimit Row limit for the workflow.
partnerProfile Partner profile code.
companyCustomObject Company custom object number.
adminCustomObject Admin custom object number.
leadCustomObject Lead custom object number.
odbcUser ODBC user ID.
connections Connections used in the workflow.
schedule Name of the schedule associated with the workflow.
dnbTasks An ordered list of D&B360 tasks for each workflow.
POST Request Syntax
This section describes the syntax to create or update a D&B360 workflow.
You can use a dnbworkflow GET request to retrieve the workflow ID or other details. To retrieve connection IDs,
you can use a connection GET request.
When you pass the workflow ID, name, or uname, Informatica Cloud uses the following precedence:
id
name
uname
For example, if you pass a workflow ID of 14 and a workflow name of "SAP CRM1", Informatica Cloud looks for a
workflow with the ID of 14. If it finds it, it updates the workflow name to SAP CRM1 as well as any other parameter
updates that you pass. If it does not find the workflow ID, it creates a new workflow based on the parameters that
you pass.
Similarly, if you pass a name of "SFDC" and a uname of "NewBatchSalesforceAccountExtract", Informatica Cloud
looks for a workflow named SFDC. If it finds it, it updates the workflow uname to
NewBatchSalesforceAccountExtract. If it does not find not find the workflow name, it creates a new workflow
based on the parameters that you pass.
To create or update a D&B360 workflow, use the following syntax.
dnbworkflow?icSessionId=<IC session ID>&id=<workflow ID>&uname=<workflow unique
identifier>&name=<workflow name>&description=<description>&connectionId=<connection
ID>&connectionId2=<connection ID2>&scheduleId=<schedule ID>&rowLimit=<row
42 Chapter 2: Informatica Cloud REST API
limit>&partnerProfile=<partner profile>&companyCustomObject=<company custom
object>&adminCustomObject=<admin custom object>&leadCustomObject=<lead custom object>&odbcUser=<ODBC
user>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Optional Workflow ID. To update a workflow, use id, uname, or name.
uname Optional Unique identifier for the workflow. To create a workflow, use uname or name. To
update a workflow, use id, uname, or name.
name Optional Name of the workflow. To create a workflow, use uname or name. To update a
workflow, use id, uname, or name.
description Optional Description of the workflow.
connectionId Required Connection ID.
connectionId2 Optional Additional connection ID. Used for SAP IDoc Writer connections.
scheduleId Optional Schedule ID.
rowLimit Optional Workflow row limit.
partnerProfile Optional The partner profile used by D&B360 for the SAP CRM package, such as INFA.
Contact your SAP CRM administrator for a Partner Profile code.
SAP CRM D&B360 workflows only.
companyCustomObject Optional Oracle CRM On Demand Company custom object number.
Enter a number between 1 - 10.
To get the number, login into your Oracle CRM On Demand instance and navigate to
Admin > Application Customization > Customize Record Types. Omit the leading 0
when entering the number.
Oracle CRM On Demand D&B360 workflows only.
adminCustomObject Optional Oracle CRM On Demand Admin custom object number.
Enter a number between 1 - 10.
To get the number, login into your Oracle CRM On Demand instance and navigate to
Admin > Application Customization > Customize Record Types. Omit the leading 0
when entering the number.
Oracle CRM On Demand D&B360 workflows only.
leadCustomObject Optional Oracle CRM On Demand Lead custom object number.
Enter a number between 1 - 10.
To get the number, login into your Oracle CRM On Demand instance and navigate to
Admin > Application Customization > Customize Record Types. Omit the leading 0
when entering the number.
Oracle CRM On Demand D&B360 workflows only.
odbcUser Optional ODBC user ID for batch jobs that interact with Siebel CRM through an ODBC driver.
The ODBC user ID is a dedicated Siebel database account that the Secure Agent
uses to access Siebel database tables.
dnbworkflow 43
Parameter Required/
Optional
Description
Enter your user ROW_ID value. To get this value, run the following query on the
Siebel CRM database:
Select ROW_ID from S_USER where LOGIN = <Secure Agent login name>.
The default value is 0-1.
Siebel D&B360 workflows only.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
A code that indicates the success or failure of the action.
DELETE Request Syntax
To delete a D&B360 workflow, use the following syntax.
dnbworkflow?icSessionId=<IC session ID>&id=<workflow ID>&uname=<workflow unique
identifier>&name=<workflow name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Optional Workflow ID.
uname Optional Workflow unique identifier.
name Optional Workflow name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
Example
To view the details of all available D&B360 workflows, you might use the following URL and parameter:
https://app.informaticaondemand.com/saas/api/1/dnbworkflow
Parameter:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
Note that because the response type was not defined, Informatica Cloud returns the response in XML.
44 Chapter 2: Informatica Cloud REST API
login
Use this resource to log in to Informatica Cloud and create an Informatica Cloud REST API session. Returns a
session ID that you can use to perform additional API calls without additional login requirements. Resources used
to monitor jobs require a session ID.
POST Request Syntax
You can log in using your Informatica Cloud user name and password. Or you can log in using a Salesforce
session ID and Salesforce server URL.
To log in using your Informatica Cloud user name and password, use the following syntax.
login?username=<IC username>&password=<IC password>&responseType=<xml|json>
Parameter Required/
Optional
Description
username Required Informatica Cloud user name.
password Required Informatica Cloud password.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
You can log in using a Salesforce session ID and Salesforce server URL if you have included your Salesforce user
name in your Informatica Cloud user account.
Use the Salesforce Web Services API to generate a Salesforce session ID and to retrieve the Salesforce server
URL. For more information, see the login resource in the Salesforce Web Services API Developer's Guide.
To log in using a Salesforce session ID and Salesforce server URL, use the following syntax.
login?sfSessionId=<Salesforce session ID>&sfServerUrl=<Salesforce server URL>&responseType=<xml|json>
Parameter Required/
Optional
Description
sfSessionId Required Salesforce session ID.
For information about generating the Salesforce session ID, see the login resource in the
Salesforce Web Services API Developer's Guide.
sfServerUrl Required Salesforce server URL.
You can retrieve the Salesforce server URL from the Salesforce Web Services API login
resource response.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
login 45
POST Response Return
An Informatica Cloud REST API session ID that you can use for additional API calls, such as the following:
ijJepc5K+IIntsaNVBkGiMCDl3QBr8ruap4grRToHnyhzim2PkuP7qRX2iY1gHMY
The following is a sample return in XML:
<?xml version="1.0" encoding="utf-8"?>
<LoginResponse>
<errorCode>NO_ERROR</errorCode>
<errorMsg></errorMsg>
<sessionId>ijJepc5K+IIntsaNVBkGiMCDl3QBr8ruap4grRToHnyhzim2PkuP7qRX2iY1gHMY</sessionId>
</LoginResponse>
Example
To create a session ID using his Informatica Cloud user name and requesting the response in JSON, John Doe
might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/login
Parameters:
username=jdoe@xyz.com
password=jdoepassword
responseType=json
To create a session ID using a Salesforce session ID and Salesforce server URL, you might use the following URL
and parameters:
https://app.informaticaondemand.com/saas/api/1/login
Parameters:
sfSessionID=34352
sfServerURL=https://na3-api.salesforce.com/services/Soap/u/22.0
org
Use this resource to view or update the details of an Informatica Cloud organization. You can also use this
resource to delete an Informatica Cloud sub-organization.
GET Request Syntax
To view the details of an Informatica Cloud organization, use the following syntax.
org?icSessionId=<IC session ID>&id=<organization ID>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Optional Organization ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
46 Chapter 2: Informatica Cloud REST API
GET Response Return
When you request the details of an organization, Informatica Cloud returns the following information. If the
organization is a parent organization in an organization hierarchy, Informatica Cloud returns the IDs and names of
all sub-organizations.
Parameter Description
id Organization ID.
parentOrgId Organization ID for the parent organization.
Returns 0 if the organization is a stand-alone organization.
orgName Organization name.
address Address of organization.
address2 Additional address information for the organization.
address3 Additional address information for the organization.
city City where the organization is based.
state State where the organization is based.
zipcode Postal code of the area where the organization is based.
country Country where the organization is based.
offerCode Offer code assigned to Informatica Cloud partners.
description Description of the organization. Maximum length is 255 characters.
SubOrg: id ID of the sub-organization. For parent organizations in an organization hierarchy.
SubOrg: name Name of the sub-organization. For parent organizations in an organization hierarchy.
responseType Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Request
You can update an Informatica Cloud organization if the user that started the Informatica Cloud REST API session
has the Admin role and belongs to either the organization that you want to update or the parent organization.
When you update an Informatica Cloud organization, you cannot update the organization ID, offer code, or
organization administrator user account created with the organization.
You can use an org GET request to retrieve the organization ID for your organization or any sub-organizations.
To update the details of an Informatica Cloud organization, use the following syntax.
org?icSessionId=<IC session ID>&id=<organization ID>&orgName=<organization name>&address=<org
address>&address2=<additional address info>&address3=<additional address
info>&city=<city>&state=<state>&zipcode=<zip code>&country=<country>&description=<org
org 47
description>&email=<email address>
&responseType=<xml|json>
Parameter Required/Optional Description
icSessionId Required Informatica Cloud REST API session ID.
id Required Organization ID.
orgName Required Organization name.
address Optional Address of organization.
address2 Optional Additional address information for the organization.
address3 Optional Additional address information for the organization.
city Optional City where the organization is based.
state Optional State where the organization is based.
zipcode Optional Postal code of the area where the organization is based.
country Optional Country where the organization is based.
description Optional Description of the organization. Maximum length is 255 characters.
email Optional Default email address for success, warning, or failure notification related to job
completion.
responseType Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
When you update an Informatica Cloud organization, Informatica Cloud returns a code that indicates the success
or failure of the request.
DELETE Request
You can delete an Informatica Cloud sub-organization if the user that started the Informatica Cloud REST API
session has the Admin role and belongs the parent organization.
48 Chapter 2: Informatica Cloud REST API
To delete an Informatica Cloud organization, use the following syntax.
org?icSessionId=<IC session ID>&id=<organization ID>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Required Organization ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
DELETE Response Return
When you delete a user account, Informatica Cloud returns a code that indicates the success or failure of the
request.
Example
To delete a sub-organization, you might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/org
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
id=Org12345
register
Use this resource to create an Informatica Cloud organization. You can use this resource to create a sub-
organization if your organization has the Org Hierarchy license. For Informatica Cloud partners only.
POST Request Syntax
When you create an Informatica Cloud organization, you also create an organization administrator user account.
To create the organization administrator user account, use one of the following:
Salesforce login. The Salesforce login becomes the organization administrator user account. Use the
Salesforce login to create a Salesforce session ID and pass the session ID in the register syntax. When you
use a Salesforce login, you cannot create a sub-organization.
Email address and other account details. The information that you pass becomes the organization
administrator user account. You can create a sub-organization if the user that started the Informatica Cloud
REST API session has the Admin role and belongs to an organization with the Org Hierarchy license.
You need an Informatica Cloud partner offer code to create an Informatica Cloud organization.
register 49
To create an Informatica Cloud organization with a Salesforce login for the user account, use the following syntax.
register?offerCode=<offer code>&sfSessionId=<Salesforce session ID>&sfServerUrl<Salesforce
URL>&responseType=<xml|json>
Parameter Required/
Optional
Description
offerCode Required Offer code assigned to Informatica Cloud partners.
sfSessionId Required Salesforce session ID.
The Salesforce login used to create the session ID becomes the Informatica Cloud user
account for the organization.
For information about generating the Salesforce session ID, see the login resource in the
Salesforce Web Services API Developer's Guide.
sfServerUrl Required Salesforce URL.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To create an Informatica Cloud organization with an email address and user account details, use the following
syntax. To create an Informatica Cloud sub-organization, pass the parentSessionId parameter.
register?parentSessionID=<IC Session ID to create sub-org>&offerCode=<offer code>&orgName<organization
name>&firstName=<first name>&lastName=<last name>
&title=<title>&email=<email address>&phone=<phone number>&timeZone=<time
zone>&address=<address>&city=<city>
&state=<state>&zipcode=<zip code>&country=<country>&employees=<employees>&responseType=<xml|json>
Parameter Required/
Optional
Description
parentSessionId Optional The Informatica Cloud REST API session ID. Use to create a sub-organization under your
organization.
The user who started the Informatica REST API session must have the Admin role.
For organizations with the Org Hierarchy license only.
offerCode Required Offer code assigned to Informatica Cloud partners.
orgName Required Name for the new Informatica Cloud organization.
firstName Required First name of the organization administrator.
lastName Required Last name of the organization administrator.
title Optional Title of the organization administrator.
email Required Email address for the organization administrator.
phone Optional Phone number for the organization administrator.
50 Chapter 2: Informatica Cloud REST API
Parameter Required/
Optional
Description
timeZone Optional Time zone of the organization administrator. Time zone honors Daylight Saving Time. You
can use one of the following parameters:
- Pacific/Apia
- Pacific/Tahiti
- HST
- Pacific/Gambier
- AST
- America/Vancouver
- America/Tijuana
- America/Los_Angeles
- America/Phoenix
- America/Dawson_Creek
- America/Denver
- America/El_Salvador
- America/Costa_Rica
- America/Mexico_City
- America/Chicago
- America/Jamaica
- America/Panama
- America/Montreal
- America/Havana
- America/New_York
- America/Barbados
- America/Dominica
- America/Guadeloupe
- America/Puerto_Rico
- America/Halifax
- CNT
- America/Buenos_Aires
- Atlantic/South_Georgia
- Atlantic/Cape_Verde
- Africa/Casablanca
- GMT
- Europe/London
- Europe/Vienna
- Europe/Brussels
- Europe/Zurich
- Europe/Prague
- Europe/Berlin
- Europe/Copenhagen
- Europe/Madrid
- Europe/Budapest
- Europe/Rome
- Europe/Luxembourg
- Europe/Amsterdam
- Europe/Warsaw
- Europe/Stockholm
- Europe/Belgrade
- Europe/Paris
- Africa/Johannesburg
- Africa/Cairo
- Europe/Athens
- Asia/Jerusalem
- Europe/Bucharest
- Europe/Istanbul
- Asia/Bahrain
- Africa/Nairobi
register 51
Parameter Required/
Optional
Description
- Asia/Kuwait
- Asia/Qatar
- Asia/Riyadh
- Asia/Baghdad
- Europe/Moscow
- Asia/Dubai
- Indian/Mauritius
- Asia/Muscat
- Asia/Karachi
- IST
- Asia/Katmandu
- BST
- Asia/Rangoon
- VST
- Australia/Perth
- Asia/Hong_Kong
- Asia/Kuala_Lumpur
- Asia/Singapore
- CTT
- Asia/Seoul
- JST
- ACT
- AET
- Australia/Lord_Howe
- Asia/Magadan
- Pacific/Norfolk
- Pacific/Fiji
- Pacific/Chatham
- Pacific/Enderbury
- Pacific/Kiritimat
If no valid time zone is passed, Informatica Cloud uses America/Los_Angeles by default.
address Optional Address where the organization is located.
city Optional City where the organization is located.
state Optional State where the organization is located.
zipcode Optional Zip code where the organization is located.
country Optional Country where the organization is located.
employees Optional Number of employees in the organization.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
An Informatica Cloud organization ID, such as the following:
Org12345
52 Chapter 2: Informatica Cloud REST API
Example
To create an organization using an offer code and Salesforce session ID, you might use the following URL and
parameters:
https://app.informaticaondemand.com/saas/api/1/register
Parameters:
offerCode=35434
sfSessionID=34352
sfServerURL=https://www.salesforce.com/services/Soap/u/24.0
runjob
Use this resource to start an Informatica Cloud task or task flow.
POST Syntax
runjob?icSessionId=<IC session ID>&jobId=<task or taskflow ID>&jobName=<task or taskflow
name>&jobType=<task type>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
jobId Optional Task or taskflow ID. To start a task or task flow, use jobId or jobName.
jobName Optional Task or taskflow name. To start a task or task flow, use jobId or jobName.
jobType Required Type of task or taskflow. Use one of the following options:
- AVS. Contact Validation task.
- DQA. Data assessment task.
- DRS. Data replication task.
- DSS. Data synchronization task.
- PCS. PowerCenter task.
- Workflow. Task flow.
- DNB_Task. D&B360 task.
- DNB_Workflow. D&B360 workflow.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
runjob 53
OR:
runjob?username=<IC user name>&password=<IC password>&jobId=<task or taskflow ID>&jobName=<task or
taskflow name>&jobType=<task type>&responseType=<xml|json>
Parameter Required/
Optional
Description
username Required Informatica Cloud user name.
password Required Informatica Cloud password.
jobId Optional Task or taskflow ID. To start a task or task flow, use jobId or jobName.
jobName Optional Task or taskflow name. To start a task or task flow, use jobId or jobName.
jobType Required Type of task or taskflow. Use one of the following options:
- AVS. Contact Validation task.
- DQA. Data assessment task.
- DRS. Data replication task.
- DSS. Data synchronization task.
- PCS. PowerCenter task.
- Workflow. Task flow.
- DNB_Task. D&B360 task.
- DNB_Workflow. D&B360 workflow.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
A code indicating the success or failure of the request:
true. The request was successful.
false. The request failed.
The following is a sample response in XML:
<?xml version="1.0" encoding="utf-8"?>
<RunJobResponse>
<errorCode>NO_ERROR</errorCode>
<errorMsg></errorMsg>
<success>true</success>
</RunJobResponse>
Example
To start a data replication task called Replicate_All, you might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/runjob
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
jobName=Replicate_All
jobType=DRS
54 Chapter 2: Informatica Cloud REST API
salesforceversion
Use this resource to return the Salesforce version used by Informatica Cloud.
GET Request Syntax
salesforceversion?responseType=<xml|json>
Parameter Required/
Optional
Description
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Response Return
The Salesforce version used by Informatica Cloud.
The following is a sample return in XML:
<?xml version="1.0" encoding="utf-8"?>
<SalesforceVersionResponse>
<errorCode>NO_ERROR</errorCode>
<errorMsg></errorMsg>
<versionNo>19</versionNo>
</SalesforceVersionResponse>
Example
To verify the Salesforce version used by Informatica Cloud, you can use the following URL:
https://app.informaticaondemand.com/saas/api/1/salesforceversion
schedule
Use this resource to view the details of a schedule or the details of all schedules in the organization. You can also
create or update a schedule, and you can delete a schedule.
GET Request Syntax
To view the details of a schedule, use the following syntax. To view the details of all schedules, omit the id and
name parameters.
schedule?icSessionId=<IC session ID>&id=<schedule ID>&name=<schedule name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Optional Schedule ID. To view the details of a schedule, use id or name.
salesforceversion 55
Parameter Required/
Optional
Description
name Optional Schedule name. To view the details of a schedule, use id or name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Response Return
When you request details of a single schedule, Informatica Cloud returns the following information. When you
request the details of all schedules, Informatica Cloud returns the following information for each schedule.
Parameter Description
id Schedule ID.
name Schedule name.
description Description of the schedule.
createTime Time the schedule was created.
updateTime The last time the schedule was updated.
createdBy User who created the schedule.
updatedBy User who last updated the schedule.
startTime Start time of the schedule.
endTime End time of the schedule.
interval Repeat interval for the schedule. Returns one of the following codes:
- none. The schedule does not repeat.
- minutely. Tasks run on an interval based on a specified number of minutes.
- hourly. Tasks run on an hourly interval based on the specified number of hours, days, and time range.
- daily. Tasks run daily at the configured start time.
- weekly. Tasks run at the configured start time on the configured days.
- monthly. Tasks run at the configured start time on the configured day of the month.
frequency Frequency that the schedule runs. Returns a numeric value that represents one of the following:
- For Minutely intervals: tasks run every n minutes.
- For Hourly intervals: tasks run every n hours.
Minutely and Hourly intervals only.
rangeStartTime The start of the time range within a day that tasks run.
Minutely and Hourly intervals only.
rangeEndTime The end of the time range within a day that tasks run.
Minutely and Hourly intervals only.
56 Chapter 2: Informatica Cloud REST API
Parameter Description
sun Tasks run on Sunday. Returns one of the following codes:
- true. The tasks run on Sunday.
- false. The tasks do not run on Sunday.
Minutely, Hourly, and Weekly intervals only.
mon Tasks run on Monday. Returns one of the following codes:
- true. The tasks run on Monday.
- false. The tasks do not run on Monday.
Minutely, Hourly, and Weekly intervals only.
tue Tasks run on Tuesday. Returns one of the following codes:
- true. The tasks run on Tuesday.
- false. The tasks do not run on Tuesday.
Minutely, Hourly, and Weekly intervals only.
wed Tasks run on Wednesday. Returns one of the following codes:
- true. The tasks run on Wednesday.
- false. The tasks do not run on Wednesday.
Minutely, Hourly, and Weekly intervals only.
thu Tasks run on Thursday. Returns one of the following codes:
- true. The tasks run on Thursday.
- false. The tasks do not run on Thursday.
Minutely, Hourly, and Weekly intervals only.
fri Tasks run on Friday. Returns one of the following codes:
- true. The tasks run on Friday.
- false. The tasks do not run on Friday.
Minutely, Hourly, and Weekly intervals only.
sat Tasks run on Saturday. Returns one of the following codes:
- true. The tasks run on Saturday.
- false. The tasks do not run on Saturday.
Minutely, Hourly, and Weekly intervals only.
dayOfMonth Date of the month that tasks run. Returns a date between 1-28.
Monthly interval only.
weekDay Tasks run on weekdays only. Returns one of the following codes:
- true. The tasks run on weekdays.
- false. The tasks run every day.
Daily interval only.
weekOfMonth Week of the month that tasks run. Returns one of the following codes:
- first. The tasks run in the first week of the month.
- second. The tasks run in the second week of the month.
- third. The tasks run in the third week of the month.
- fourth. The tasks run in the fourth week of the month.
- last. The tasks run in the last week of the month.
Monthly interval only.
schedule 57
Parameter Description
dayOfWeek Day of the week that tasks run. Returns one of the following codes:
- day. Tasks run on the first day or last day of the month, based on the selected weekOfMonth option.
- sun. The tasks run on Sunday.
- mon. The tasks run on Monday.
- tue. The tasks run on Tuesday.
- wed. The tasks run on Wednesday.
- thu. The tasks run on Thursday.
- fri. The tasks run on Friday.
- sat. The tasks run on Saturday.
Monthly interval only.
timeZone Time zone of the user who last updated the schedule. Time zone honors Daylight Saving Time.
POST Request Syntax
This section describes the syntax to create or update schedules.
When you pass both the schedule ID and the schedule name, the schedule ID takes precedence. For example, if
you pass a schedule ID of 11 and a schedule name of Daily, Informatica Cloud looks for a schedule with an ID of
11. If it finds it, it updates the schedule name to Daily and updates any other parameters that you pass. If it does
not find the schedule ID, it creates a new schedule based on the parameters that you pass.
You can use a schedule GET request to retrieve the schedule name or ID.
To create or update a schedule, use the following syntax.
schedule?icSessionId=<IC session ID>&id=<schedule ID>&name=<schedule name>&description=<description>
&startTime=<schedule start time>&endTime=<schedule end time>&interval=<interval>&frequency=<frequency>
$rangeStartTime=<daily start time>&rangeEndTime=<daily end
time>&sun=<Sunday>&mon=<Monday>&tue=<Tuesday>&wed=<Wednesday>&thu=<Thursday>&fri=<Friday>&sat=<Saturday
>&weekDay=<run on weekdays>&dayOfMonth=<date of the month>&weekOfMonth=<week of the
month>&dayOfWeek=<day of the week>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Optional Schedule ID.
name Required Schedule name.
description Optional Description of the schedule.
startTime Required Date and time when the schedule starts running. Use the following format:
YYYY-MM-DDTHH24:MI:SSZ
endTime Optional Date and time when the schedule stops running. If you do not use this parameter, the
schedule runs indefinitely.
Use the following format:
YYYY-MM-DDTHH24:MI:SSZ
58 Chapter 2: Informatica Cloud REST API
Parameter Required/
Optional
Description
interval Required Interval or repeat frequency at which the schedule runs. Use one of the following options:
- None. Tasks run at the schedule start time. The schedule does not repeat.
- Minutely. Tasks run on an interval based on the specified number of minutes, days, and
time range. You can use the following parameters:
- frequency. Frequency in minutes that tasks run.
- sun, mon, tue, wed, thu, fri, sat. The days of the week that tasks run.
- startTimeRange and endTimeRange. The time range within a day tasks should run.
Do not use if you want tasks to run all day.
- endTime. When the schedule should stop running. Do not use if you want the
schedule to run indefinitely.
- Hourly. Tasks run on an hourly interval based on the start time of the schedule. You can
use the following parameters:
- frequency. Frequency in hours that tasks run.
- sun, mon, tue, wed, thu, fri, sat. The days of the week that tasks run.
- startTimeRange and endTimeRange. The time range within a day tasks should run.
Do not use if you want tasks to run all day.
- endTime. When the schedule should stop running. Do not use if you want the
schedule to run indefinitely.
- Daily. Tasks run daily at the start time configured for the schedule. You can use the
following parameters:
- weekDay. Runs the tasks every weekday. Do not use if you want the tasks to run
every day.
- endTime. When the schedule should stop running. Do not use if you want the
schedule to run indefinitely.
- Weekly. Tasks run on a weekly interval based on the start time of the schedule. You can
use the following parameters:
- sun, mon, tue, wed, thu, fri, sat. The days of the week that tasks run.
- endTime. When the schedule should stop running. Do not use if you want the
schedule to run indefinitely.
- Monthly. Tasks run on a monthly interval based on the start time of the schedule. You
can use the following parameters:
- dayOfMonth. Day of the month when you want tasks to run, between 1-28.
- dayOfWeek. Day of the week when you want tasks to run.
- weekOfMonth. Week of the month when you want tasks to run.
- endTime. When the schedule should stop running. Do not use if you want the
schedule to run indefinitely.
To indicate when tasks should run, use dayOfWeek with weekOfMonth, such as the First
Monday. Or use dayOfMonth, such as 1.
Tip: To run tasks on the last day of the month, use the Last weekOfMonth parameter
with the Day dayOfWeek parameter.
frequency Required for
Minutely and
Hourly
Intervals
Repeat frequency for tasks. Use one of the following values:
- For the Minutely interval, use one of the following options: 5, 10, 15, 20, 30, 45.
- For the Hourly interval, use one of the following options: 1, 2, 3, 4, 6, 8, 12.
Use with Minutely and Hourly intervals only.
rangeStartTime Optional The start of the time range within a day that you want tasks to run. Enter a date and time
using the following format. Only the time portion is used:
YYYY-MM-DDTHH24:MI:SSZ
Use with Minutely and Hourly intervals only.
rangeEndTime Optional The end of the time range within a day that you want tasks to run. Enter a date and time
using the following format. Only the time portion is used:
YYYY-MM-DDTHH24:MI:SSZ
schedule 59
Parameter Required/
Optional
Description
Use with Minutely and Hourly intervals only.
sun Optional Runs tasks on Sunday at the configured time. You can use the sun - sat parameters to run
tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Sunday.
- False. Does not run tasks on Sunday.
Use with Minutely, Hourly, and Weekly intervals only.
mon Optional Runs tasks on Monday at the configured time. You can use the sun - sat parameters to run
tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Monday
- False. Does not run tasks on Monday.
Use with Minutely, Hourly, and Weekly intervals only.
tue Optional Runs tasks on Tuesday at the configured time. You can use the sun - sat parameters to
run tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Tuesday.
- False. Does not run tasks on Tuesday.
Use with Minutely, Hourly, and Weekly intervals only.
wed Optional Runs tasks on Wednesday at the configured time. You can use the sun - sat parameters to
run tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Wednesday.
- False. Does not run tasks on Wednesday.
Use with Minutely, Hourly, and Weekly intervals only.
thu Optional Runs tasks on Thursday at the configured time. You can use the sun - sat parameters to
run tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Thursday.
- False. Does not run tasks on Thursday.
Use with Minutely, Hourly, and Weekly intervals only.
fri Optional Runs tasks on Friday at the configured time. You can use the sun - sat parameters to run
tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Friday.
- False. Does not run tasks on Friday.
Use with Minutely, Hourly, and Weekly intervals only.
sat Optional Runs tasks on Saturday at the configured time. You can use the sun - sat parameters to
run tasks on several days of the week.
Use one of the following options:
- True. Runs tasks on Saturday.
- False. Does not run tasks on Saturday.
Use with Minutely, Hourly, and Weekly intervals only.
60 Chapter 2: Informatica Cloud REST API
Parameter Required/
Optional
Description
weekDay Optional Runs tasks on weekdays. Use one of the following options:
- True. Run tasks on Monday through Friday. Does not run tasks on the weekend.
- False. Run tasks every day.
Use with the Daily interval only.
dayOfMonth Optional Date of the month that tasks should run. Use a date between 1-28.
Use with the Monthly interval only.
Tip: To run tasks on the last day of the month, use the Last weekOfMonth parameter with
the Day dayOfWeek parameter.
weekOfMonth Optional Week of the month that tasks should run. Use with dayOfWeek to specify the day and
week of the month that tasks should run. For example, the First Day or the Last
Wednesday of the month.
Use one of the following options:
- First
- Second
- Third
- Fourth
- Last
Use with the Monthly interval only.
dayOfWeek Optional Day of the week that tasks should run. Use with weekOfMonth to specify the day and week
of the month that tasks should run. For example, the First Day or the Last Wednesday of
the month.
Use one of the following options:
- Day
- Sunday
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
Use with the Monthly interval only.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
A code that indicates the success or failure of the request.
DELETE Request Syntax
You can delete a schedule by using the schedule ID or schedule name. You can use a schedule GET request to
retrieve the schedule name or ID.
schedule 61
To delete a schedule using the schedule ID, use the following syntax.
schedule?icSessionId=<IC session ID>&id=<schedule id>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
id Required Schedule ID.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
To delete a schedule using the schedule name, use the following syntax.
schedule?icSessionId=<IC session ID>&name=<schedule name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
name Required Schedule name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
DELETE Response Return
A code that indicates the success or failure of the request.
Example
To view the details of a schedule named Daily, you might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/schedule
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
name=Daily
servertime
Use this resource to return the local time for the Informatica Cloud server.
62 Chapter 2: Informatica Cloud REST API
GET Request Syntax
servertime?responseType=<xml|json>
Parameter Required/
Optional
Description
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
GET Return Response
The local time for the Informatica Cloud server.
Example
To verify the local time for the Informatica Cloud server, you can use the following URL:
https://app.informaticaondemand.com/saas/api/1/servertime
user
Use this resource to view the details of an Informatica Cloud user account or the details of all user accounts in the
organization. You can also use this resource to create or update a user account and to delete a user account. To
ensure organization security, this resource does not display or update the password for a user account.
GET Request Syntax
To view the details of an Informatica Cloud user account, use the following syntax. To view the details of all user
accounts, omit the username parameter.
user?icSessionId=<IC session ID>&username=<IC user name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
username Optional Informatica Cloud user name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
user 63
GET Response Return
When you request details about a user account, Informatica Cloud returns the following information. When you
request the details of all user accounts, Informatica Cloud returns the following information for each user account.
Parameter Description
username Informatica Cloud user name.
sfUsername Salesforce user name.
password Salesforce password.
firstName First name for the user account.
lastName Last name for the user account.
title Title of the user.
phone Phone number for the user.
email Email addresses to be notified when the user changes the account password.
orgId ID of the organization the user belongs to.
description Description of the user.
createTime When the user account was created.
updateTime When the user account was last updated.
createdBy Informatica Cloud user who created the user account.
updatedBy Informatica Cloud user who last updated the user account.
timeZone Time zone of the user. Time zone honors Daylight Saving Time.
POST Request Syntax
To create an Informatica Cloud user account or update the details of an existing account, use the following syntax.
You can use a user GET request to retrieve a list of user names.
user?icSessionId=<IC session ID>&username=<IC user name>&sfUsername=<Salesforce user
name>&password=<Salesforce password>
&firstName=<first name>&lastName=<last
name>&title=<title>&phone=<phone>&email=<email>&description=<description>&timeZone=<time zone>
&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
username Required Informatica Cloud user name.
sfUsername Optional Salesforce user name.
64 Chapter 2: Informatica Cloud REST API
Parameter Required/
Optional
Description
password Optional Salesforce password.
firstName Optional First name for the user account.
lastName Optional Last name for the user account.
title Optional Title of the user.
phone Optional Phone number for the user.
email Optional Email addresses to be notified when the user changes the account password.
description Optional Description of the user.
user 65
Parameter Required/
Optional
Description
timeZone Optional Time zone of the user. Time zone honors Daylight Saving Time. You can use one of the
following parameters:
- Pacific/Apia
- Pacific/Tahiti
- HST
- Pacific/Gambier
- AST
- America/Vancouver
- America/Tijuana
- America/Los_Angeles
- America/Phoenix
- America/Dawson_Creek
- America/Denver
- America/El_Salvador
- America/Costa_Rica
- America/Mexico_City
- America/Chicago
- America/Jamaica
- America/Panama
- America/Montreal
- America/Havana
- America/New_York
- America/Barbados
- America/Dominica
- America/Guadeloupe
- America/Puerto_Rico
- America/Halifax
- CNT
- America/Buenos_Aires
- Atlantic/South_Georgia
- Atlantic/Cape_Verde
- Africa/Casablanca
- GMT
- Europe/London
- Europe/Vienna
- Europe/Brussels
- Europe/Zurich
- Europe/Prague
- Europe/Berlin
- Europe/Copenhagen
- Europe/Madrid
- Europe/Budapest
- Europe/Rome
- Europe/Luxembourg
- Europe/Amsterdam
- Europe/Warsaw
- Europe/Stockholm
- Europe/Belgrade
- Europe/Paris
- Africa/Johannesburg
- Africa/Cairo
- Europe/Athens
- Asia/Jerusalem
- Europe/Bucharest
- Europe/Istanbul
- Asia/Bahrain
- Africa/Nairobi
66 Chapter 2: Informatica Cloud REST API
Parameter Required/
Optional
Description
- Asia/Kuwait
- Asia/Qatar
- Asia/Riyadh
- Asia/Baghdad
- Europe/Moscow
- Asia/Dubai
- Indian/Mauritius
- Asia/Muscat
- Asia/Karachi
- IST
- Asia/Katmandu
- BST
- Asia/Rangoon
- VST
- Australia/Perth
- Asia/Hong_Kong
- Asia/Kuala_Lumpur
- Asia/Singapore
- CTT
- Asia/Seoul
- JST
- ACT
- AET
- Australia/Lord_Howe
- Asia/Magadan
- Pacific/Norfolk
- Pacific/Fiji
- Pacific/Chatham
- Pacific/Enderbury
- Pacific/Kiritimat
If no valid time zone is passed, Informatica Cloud uses America/Los_Angeles by default.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
POST Response Return
A code that indicates the success or failure of the update.
DELETE Request Syntax
You can delete a user account by using the user name. You can use a user GET request to retrieve a list of user
names.
user 67
To delete a user, use the following syntax.
user?icSessionId=<IC session ID>&username=<user name>&responseType=<xml|json>
Parameter Required/
Optional
Description
icSessionId Required Informatica Cloud REST API session ID.
username Required User name.
responseType Optional Format for the response from Informatica Cloud. Use one of the following options:
- json. Returns information in JSON.
- xml. Returns information in XML.
By default, Informatica Cloud responds in XML.
Delete Response Return
A code that indicates the success or failure of the request.
Example
To view information about the John Doe user account, you might use the following URL and parameters:
https://app.informaticaondemand.com/saas/api/1/user
Parameters:
icSessionId=r21WJdXxrfKgTEcKgGc9Duc65hnZk2ggJdgiRjCB7XX5vAsjLSZxJ19NQK5WEECf
username=jdoe@xyz.com
68 Chapter 2: Informatica Cloud REST API
I NDEX
A
activitylog
REST API resource 18
activitymonitor
REST API resource 20
agent
REST API resource 22
API
Informatica Cloud REST API 10
B
best practices
Informatica Cloud Toolkit 2
C
connection
REST API resource 23
D
dnbbatch
REST API resource 39
dnbworkflow
REST API resource 41
I
IConnection
Informatica Cloud Toolkit connection interface 7
IDataOperation
Informatica Cloud Toolkit data operation interface 7
IMetadata
Informatica Cloud Toolkit metadata interface 6
Informatica Cloud
REST API 10
Informatica Cloud Community
URL iii
Informatica Cloud Connector
best practices 2
Informatica Cloud Connectors
development process 2
Informatica Cloud Toolkit
IConnection interface 7
IDataOperation interface 7
IMetadata interface 6
interface architecture 4
IPlugin interface 4
IRead interface 8
IRegistrationInfo 5
ITypeSystem interface 6
IWrite interface 8
overview 1
sample project 1
Informatica Cloud web site
URL iii
Informatica Global Customer Support
contact information iv
IPlugin
Informatica Cloud Toolkit top-level interface 4
IRead
Informatica Cloud Toolkit read interface 8
IRegistrationInfo
Informatica Cloud Toolkit registration interface 5
ITypeSystem
Informatica Cloud Toolkit datatype interface 6
IWrite
Informatica Cloud Toolkit write interface 8
L
login
REST API resource 45
O
org
REST API resource 46
P
process
for developing Informatica Cloud Connectors 2
Q
quick reference
REST API 15
R
register
REST API resource 49
response codes
REST API 14
response formats
REST API 11
REST API
documentation conventions 12
guidelines 12
overview 10
69
quick reference 15
response formats 11
return codes 14
test page 12
XML schema definition (XSD) 11
runjob
REST API resource 53
S
salesforceversion
REST API resource 55
sample project
Informatica Cloud Toolkit 1
schedule
REST API resource 55
servertime
REST API resource 63
T
test page
REST API 12
trust site
description iv
U
user
REST API resource 63
X
XML schema definition
REST API 11
XSD See XML schema definition
70 Index

También podría gustarte