Service: DataExportService

Version: 1_0 (other versions, change log) Latest stable version. Please base all your developments on this one.

SOAP Demo endpoint: https://secutix.ws.secutix.com/tnai/external-remoting/com.secutix.service.export.v1_0.DataExportService.webservice?wsdl

REST Demo endpoint (only POST): https://secutix.ws.secutix.com/tnai/backend-apis/dataExportService/v1_0/{methodName} Replace {methodName} for the desired method name as shown below.

To get the endpoint for your own institution, replace "secutix" (just after https://) in the url by your own institution code.

For further documentation and examples, please check in Platform Website.A public service to execute data exports associated to previously defined export queries stored in SecuTix and associated with an export ket.

Methods:

executeExport

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Executes an export associated with a given (mandatory) export key. This execution can return in_progress and follow SecuTix asynchronous processes.

Parameters

requestIdIntegerrequestId for asynchronous calls. Pass null by default, reinject the requestId proposed by an export in progress.
exportKeyStringkey of the export.
dateFromDateif the query associated with key supports that kind of value, dateFrom may be used to paginate according to export dates.
dateToDate     
parametersList of Parametera list of parameters as demanded by the query associated to the key. Depends on the query.
nbMaxResultsIntegerNb max results. Non mandatory. If omitted, default value will be 1000.

Parameter
nameString     
valueString     

Return value

ExportResult
exportDateDate     
exportedElementsList of ExportedElement     
requestStateAsynchronousMethodResult.
AsynchronousMethodState
     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

ExportedElement
nameValuesList of NameValue     

NameValue
nameString     
valueString     

flagItems

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Marks the items passed as elementIds with the flagDate. This date can be used to mark processed items. if itemKind is INVOICE, resp PAYMENT, elementIds expected will have to be invoiceIds, resp. paymentIds. The max number of elements that can be flagged in one call is 10000.

Parameters

requestIdInteger     
itemKind(INVOICE|PAYMENT|CONTACT|
GENERIC)
     
elementsIdsList of Long     
flagDateDate     

Return value

FlagResult
flagDataList of FlagData     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

FlagData
elementIdsList of Long     
flaggingDateDate     

getAvailableExports

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Lists the available exports that can be called from this service, with a list of parameters.

Parameters

Return value

AvailableExportsResult
exportsList of Export     
requestIdInteger     
statusCodeString (8)     
statusDetailString     

Export
exportKeyString     
exportParameterNamesList of String     

getFlaggingStatus

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieves the flagging status of the elements passed in parameter. if itemKind is INVOICE, resp PAYMENT, elementIds expected will have to be invoiceIds, resp. paymentIds. The max number of elements that can be flagged in one call is 10000.

Parameters

requestIdInteger     
itemKind(INVOICE|PAYMENT|CONTACT|
GENERIC)
     
elementsIdsList of Long     

Return value

FlagResult

retrieveGeneratedFileContent

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Retrieves the content of a file generated through a flat file export.

Parameters

fileNameString     
fileCriteriaFileCriteria     

FileCriteria
This criteria allows to find the file properly.
adapterNameString     
fileGenerationDateDate     
module(EXPORTS|ACCESS_CONTROL)     
organizationCodeString (8)If not defined, will consider the organization related to the operator used to connect.

Return value

FileContentResult
fileContentBase64StringFile content, encoded in base64
fileNameStringFilename
requestIdInteger     
statusCodeString (8)     
statusDetailString     

unFlagItems

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

Unmark the items passed as elementIds. if itemKind is INVOICE, resp PAYMENT, elementIds expected will have to be invoiceIds, resp. paymentIds. The max number of elements that can be flagged in one call is 10000.

Parameters

requestIdInteger     
itemKind(INVOICE|PAYMENT|CONTACT|
GENERIC)
     
elementsIdsList of Long     

Return value

FlagResult