Service: DataExportService

Version: 1_0 (other versions, change log, null) Latest frozen version. Base by default all your developments on this one.

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

REST Demo endpoint (only POST): https://myinstit.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 "myinstit" (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. This service is not intended to be called to extract big amounts of data at once. If such a need arises, please focus on webhooks or flat file exports.

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.
exportKeyStringMandatory
key 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. If omitted, default value will be 1000. All values above 1000 will be set to 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)
Mandatory
elementsIdsList of LongMandatory
flagDateDateMandatory

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)
Mandatory
elementsIdsList of LongMandatory

Return value

FlagResult

retrieveGeneratedFileContent

REST_RPCMOSACUBEPLAY
SOAPMOSACUBEPLAY

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

Parameters

fileNameStringMandatory
fileCriteriaFileCriteriaMandatory

FileCriteria
This criteria allows to find the file properly.
adapterNameString     
fileGenerationDateDate     
module(EXPORTS|ACCESS_CONTROL)Mandatory
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)
Mandatory
elementsIdsList of LongMandatory

Return value

FlagResult