Create an archive request

Creates a request to archive EDI messages matching the specified patterns. The response returns a unique archive request ID.

Body Params

For the entryPattern the following fields are recognized for substitution:

EntryPattern OptionsDescription
YEARThe year the document was received by the Integration Hub
MONTHThe month in the year the document was received by the Integration Hub
DAYThe day of the mont the document was received by the Integration Hub
TIMESTAMPThe timestamp the document was received at
MESSAGE_IDThe unique identifier of the message archived
MESSAGE_STATUSThe status of the message archived
MIME_TYPEThe MIME type of the document (i.e. XML, CSV, …)
EXTENSIONThe extension of the document in the archive
SENDER_UUIDThe unique identifier of the sending company
SENDER_NAMEHuman readable name of the sender of the document
RECEIVER_UUIDThe unique identifier of the receiving company
RECEIVER_NAMEHuman readable name of the receiver of the document
DOCUMENT_TYPEThe unique identifier of the identified document type
RANDOM_ALPHANUMERIC_1Random alphanumeric character
RANDOM_ALPHANUMERIC_8Sequence of 8 alphanumeric random characters
RANDOM_NUMERIC_1Random numeric character
RANDOM_NUMERIC_8Sequence of 8 numeric random characters
IN_OUTIf specified will separate received files from sent files by including a dedicated segment named IN, for received, and OUT, for sent documents.

Archive details

string | null

Specifies if only EDI documents should be archived that have been sent to the Integration Hub (DELIVERED), that have been received from the service (RECEIVED) or if both sent and received EDI documents should be archived (ALL)

string | null

In case of a Multi Tenant Connector the Archive Creation process need to be verified through the companyUuid. This Uuid can be found in the ecosio.monitor section Connectors.

date-time | null

Will include EDI documents younger than this timestamp in the resulting archive. The date must be in ISO 8601 format.

date-time | null

Will include EDI documents older than this timestamp in the resulting archive. The date must be in ISO 8601 format.

messageIds
array of strings | null

Specifies that only EDI messages with messageIds listed in this array will be added to the archive. If this field is available any time-based related settings (from and till) will be ignored! Entries of that array should be the messageId strings to include

messageIds
string | null

Defines the path structure and file name of the respective files within the archive

boolean | null

Allows to add acknowledgment files to the archive (e.g. for outbound invoices to SDI)

boolean | null

Allows to add PDF files to the archive

boolean | null

Allows to add a JSON file with the overview of the merged/split messages

Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json