In the cloud, you can import or export files with an import/export template on a local workstation, but you need to manually drag and drop files.

You can completely automate these operations with an API for external tools:

Because an extraction or integration can take time, the API must also be able to handle batch operations.

Web services available

Standard SOAP web services are supplied to manage these operations. These web services use the standard SOAP web service connection pools and can be called from any program that can:

The SOAP web services used are subprograms associated with web services. Their names are the following:

Service nameSubprogramDescription
AOWSEXPORTAOWSEXPORT.EXPORTExports data associated with a template and parameters
AOWSIMPORTAOWSIMPORT.IMPORTImports data based on an import template
AOWSBATGETAOWSGETBATCH.GETRetrieves information about a batch import/export request

These SOAP web services can be called from any program that can perform a SOAP web service in the correct format as described in web service management. You can, for example, write in Java, PHP, JavaScript, .NET, C, etc.


Export web service

The export web service contains the following arguments:

GroupLevelCodeDescriptionParameter typeDimArgument type
GRP11I_MODEXPTemplateChar1Sent
GRP11I_CHRONOSequence no.Char1Sent
GRP21I_TCRITERECriteriaChar10Sent
GRP31I_EXECExecution typeChar1Sent
GRP31I_RECORDSEPRecord separatorChar1Sent
GRP31O_FILEData fileClbfile1Returned
GRP31O_REQNUMQueryInteger1Returned
GRP31O_STATUSStatusInteger1Returned
GRP31O_MESSAMessageChar1Returned

The parameters sent are:

The SOAP parameters returned are:

The values returned are:

Export examples


Import web service

The import web service contains the following arguments:

GroupLevelCodeDescriptionParameter typeArgument type
GRP11I_MODIMPTemplateCharSent
GRP11I_AOWSTAImport/export temporary storageCharSent
GRP11I_EXECExecution typeCharSent
GRP11I_RECORDSEPRecord separatorCharSent
GRP11I_FILEFileClbfileSent
GRP11O_REQNUMQueryIntegerReturned
GRP11O_STATUSStatusIntegerReturned
GRP11O_MESSAMessageCharReturned

The parameters sent are:

For example, if you import two lines with a string, a date, and a numeric value, and if the record separator is “|”, the correct clob contents would be: STRING1;20170203;1| STRING2;20160512;33|END

The SOAP parameters returned are:

The values returned are:

Import Examples


Get information about import/export batch task

This web service contains the following arguments:

GroupLevelCodeDescriptionParameter typeArgument type
GRP11I_TACHEBatch taskCharSent
GRP11I_REQNUMQueryIntegerSent
GRP11I_GETTRALogCharSent
GRP11O_STAREQStatusIntegerReturned
GRP11O_MESREQMessageCharReturned
GRP11O_FILEFileClbfileReturned
GRP11O_FILETRAFileClbfileReturned
GRP11O_STATUSStatusIntegerReturned
GRP11O_MESSAMessageCharReturned

The parameters sent are:

The SOAP parameters returned are:

The values returned are:


Provide feedback