B2B Gateway
- B2B Gateway
- All Products
/api/v2/customFunc
/api/v2/customFunc/<id>
If you use the mapplet name and the mapplet name includes a space, replace the space with/api/v2/customFunc/name/<name>
/api/v2/customFunc/name/my%20mapplet
Field
| Type
| Description
|
---|---|---|
id
| String
| Mapplet ID.
|
orgId
| String
| Organization ID.
|
name
| String
| Mapplet name.
|
description
| String
| Mapplet description.
|
createTime
| Date/time
| Time the mapplet was created.
|
updateTime
| Date/time
| Time the mapplet was last updated.
|
createdBy
| String
| User who created the mapplet.
|
updatedBy
| String
| User who last updated the mapplet.
|
mappletName
| String
| Name of the Mapplet transformation used in the mapplet.
|
active
| Boolean
| Whether the mapplet is active. Returns true or false.
|
mappletXmlFile
| String
| The mapplet XML file.
|
inputs
| String
| Input fields for the mapplet. Includes the following information for each field in the field object:
|
outputs
| String
| Output fields for the mapplet. Includes the following information for each field in the field object:
|
connections
| Connection information for the mapplet. Includes a pcsConnection object for each connection.
| |
id
| Long
| Included in the pcsConnection object.
|
name
| String
| Included in the pcsConnection object.
Connection name.
|
type
| String
| Included in the pcsConnection object.
Connection type.
|
subtype
| String
| Included in the pcsConnection object.
Connection subtype.
|
description
| String
| Included in the pcsConnection object.
Description of the connection.
|
connectionId
| String
| Included in the pcsConnection object.
Connection ID.
|
/api/v2/customFunc
https://na1.dm-us.informaticacloud.com/diUI/products/integrationDesign/main/Explore/dH2DuGJYda7ijgW4Sm32sR
/api/v2/customFunc/<id>
Field
| Type
| Required
| Description
|
---|---|---|---|
file
| String
| Yes
| The mapplet XML file exported from Informatica PowerCenter. File content should be in binary format, UTF-8 encoding.
|
name
| String
| Yes
| The mapplet name.
|
description
| String
| -
| The mapplet description.
|
containerId
| String
| -
| ID of the project or folder to contain the mapplet.
If not included in request, the mapplet is created in the Default folder.
|
URL: <serverUrl>/api/v2/customFunc/ HTTP method: POST Content-Type:multipart/form-data;boundary=<boundary value> --<boundary value> Content-Disposition:form-data; name="file";filename="<filename.XML>";Content-Type:text/<xml|json> <content of the mapplet XML file encoded as UTF-8> --<boundary value> Content-Disposition: form-data; name="name" <mapplet name> --<boundary value> Content-Disposition: form-data; name="desc" <description of the mapplet> --<boundary value> Content-Disposition: form-data; name="icSessionId" <icSessionID returned from login resource> --<boundary value>--
/api/v2/customFunc/<id>
URL: https://example.informatica.com/saas/api/v2/customFunc/3 HTTP method: POST Content-Type:multipart/form-data;boundary=243553118520053 --243553118520053 Content-Disposition:form-data; name="file";filename="<lookup_mapplet.xml>";Content-Type:text/xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE POWERMART SYSTEM "powrmart.dtd"> <POWERMART CREATION_DATE="05/14/2012 12:17:26" REPOSITORY_VERSION="181.90"> <REPOSITORY NAME="pc91hf1" VERSION="181" CODEPAGE="UTF-8" DATABASETYPE="Oracle"> <FOLDER NAME="test" GROUP="" OWNER="Administrator" SHARED="SHARED" DESCRIPTION="" PERMISSIONS="rwx---r--" UUID="96f9d03b-c2c5-4034-8e3a-838026bbf6e8"> <SOURCE BUSINESSNAME ="" DATABASETYPE ="Oracle" DBDNAME ="ddicst" DESCRIPTION ="" NAME ="CUSTOMERMASTER" OBJECTVERSION ="1" OWNERNAME ="C01" VERSIONNUMBER ="1"> <SOURCEFIELD BUSINESSNAME ="" DATATYPE ="nvarchar2" DESCRIPTION ="" FIELDNUMBER ="1" FIELDPROPERTY ="0" FIELDTYPE ="ELEMITEM" HIDDEN ="NO" KEYTYPE ="PRIMARY KEY" LENGTH ="0" LEVEL ="0" NAME ="CUSTOMERID" NULLABLE ="NOTNULL" OCCURS ="0" OFFSET ="0" PHYSICALLENGTH ="30" PHYSICALOFFSET ="0" PICTURETEXT ="" PRECISION ="30" SCALE ="0" USAGE_FLAGS =""/> . . . <ATTRIBUTE NAME ="Parameter Filename" VALUE =""/> <ATTRIBUTE NAME ="Write Backward Compatible Workflow Log File" VALUE ="NO"/> <ATTRIBUTE NAME ="Workflow Log File Name" VALUE ="wf_plugin_lookup.log"/> <ATTRIBUTE NAME ="Workflow Log File Directory" VALUE ="$PMWorkflowLogDir\"/> <ATTRIBUTE NAME ="Save Workflow log by" VALUE ="By runs"/> <ATTRIBUTE NAME ="Save workflow log for these runs" VALUE ="0"/> <ATTRIBUTE NAME ="Service Name" VALUE =""/> <ATTRIBUTE NAME ="Service Timeout" VALUE ="0"/> <ATTRIBUTE NAME ="Is Service Visible" VALUE ="NO"/> <ATTRIBUTE NAME ="Is Service Protected" VALUE ="NO"/> <ATTRIBUTE NAME ="Fail task after wait time" VALUE ="0"/> <ATTRIBUTE NAME ="Enable HA recovery" VALUE ="NO"/> <ATTRIBUTE NAME ="Automatically recover terminated tasks" VALUE ="NO"/> <ATTRIBUTE NAME ="Service Level Name" VALUE ="Default"/> <ATTRIBUTE NAME ="Allow concurrent run with unique run instance name" VALUE ="NO"/> <ATTRIBUTE NAME ="Allow concurrent run with same run instance name" VALUE ="NO"/> <ATTRIBUTE NAME ="Maximum number of concurrent runs" VALUE ="0"/> <ATTRIBUTE NAME ="Assigned Web Services Hubs" VALUE =""/> <ATTRIBUTE NAME ="Maximum number of concurrent runs per Hub" VALUE ="1000"/> <ATTRIBUTE NAME ="Expected Service Time" VALUE ="1"/> </WORKFLOW> </FOLDER> </REPOSITORY> </POWERMART> --243553118520053 Content-Disposition: form-data; name="name" Lookup Mapplet --243553118520053 Content-Disposition: form-data; name="icSessionId" IV4wOrJmd6YUtmKa8t --243553118520053--