XML principal

Lors de l'éxécution du batch, MaarchCapture stocke dans le répertoire du batch les informations nécessaires à son bon fonctionnement.

Voici un exemple de ce fichier :

<?xml version="1.0" encoding="UTF-8"?>
<Batch name="MAARCH_MAIL_TO_MC" id="BMAARCH_MAIL_TO_MC-1518013905-521200629" directory="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629" errorDirectory="/opt/maarch/MaarchCapture/files//errors">
    <Documents>
        <Document id="D1" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CAL2WcHcEP+mMTv+noy9Jjs3ehd1PMU+rnPLoDyZnhkEs26ERvg@mail.gmail.com/1.2.html" filename="1.2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/D1.html" extension="html" size="466" creationdate="07/02/2018 15:31:47" mimetype="text/html" mimeencoding="us-ascii">
            <Metadata>
                <doc_date>2018-02-05 12:22:48</doc_date>
                <type_id>108</type_id>
                <destination>COU</destination>
                <subject>test PJ KO mime type</subject>
                <fromaddress>Donald Knuck&lt;donald.knuck@amail.com&gt;</fromaddress>
                <frompersonal>Lau Gio</frompersonal>
                <toaddress>John Doe &lt;john.doe@amail.com&gt;</toaddress>
                <message_id>&lt;CAL2WcHcEP+mMTv+noy9Jjs3ehd1PMU+rnPLoDyZnhkEs26ERvg@mail.gmail.com&gt;</message_id>
                <targetEntityId>john.doe@amail.com</targetEntityId>
            </Metadata>
            <Attachments>
                <Attachment id="A1" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CAL2WcHcEP+mMTv+noy9Jjs3ehd1PMU+rnPLoDyZnhkEs26ERvg@mail.gmail.com/2.pdf" filename="2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/A1.pdf" extension="pdf" size="170173" creationdate="07/02/2018 15:31:47" mimetype="application/pdf" mimeencoding="binary">
                    <Metadata>
                        <filename>1.pdf</filename>
                    </Metadata>
                </Attachment>
            </Attachments>
        </Document>
        <Document id="D2" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CAL2WcHemkVB1y=8tzr_0QXUAHR5pjatzdCyrvQKWJWozEzKm_g@mail.gmail.com/2.html" filename="2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/D2.html" extension="html" size="466" creationdate="07/02/2018 15:31:48" mimetype="text/html" mimeencoding="us-ascii">
            <Metadata>
                <doc_date>2017-11-13 15:46:38</doc_date>
                <type_id>108</type_id>
                <destination>COU</destination>
                <subject>test mail simple</subject>
                <fromaddress>Donald Knuck&lt;donald.knuck@amail.com&gt;</fromaddress>
                <frompersonal>Lau Gio</frompersonal>
                <toaddress>John Doe &lt;john.doe@amail.com&gt;</toaddress>
                <message_id>&lt;CAL2WcHemkVB1y=8tzr_0QXUAHR5pjatzdCyrvQKWJWozEzKm_g@mail.gmail.com&gt;</message_id>
                <targetEntityId>john.doe@amail.com</targetEntityId>
            </Metadata>
        </Document>
        <Document id="D3" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CACX9bH80sW3zMibjL-y4n9S0oF_91i49AP74BYObxQtWKWgitA@mail.gmail.com/1.2.html" filename="1.2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/D3.html" extension="html" size="3684" creationdate="07/02/2018 15:31:48" mimetype="text/html" mimeencoding="us-ascii">
            <Metadata>
                <doc_date>2017-10-03 17:15:50</doc_date>
                <type_id>108</type_id>
                <destination>COU</destination>
                <subject>test pj avec caractères interdits</subject>
                <fromaddress>Donald Knuck&lt;donald.knuck@amail.com&gt;</fromaddress>
                <frompersonal>John Doe</frompersonal>
                <toaddress>John Doe &lt;john.doe@amail.com&gt;</toaddress>
                <message_id>&lt;CACX9bH80sW3zMibjL-y4n9S0oF_91i49AP74BYObxQtWKWgitA@mail.gmail.com&gt;</message_id>
                <targetEntityId>john.doe@amail.com</targetEntityId>
            </Metadata>
            <Attachments>
                <Attachment id="A2" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CACX9bH80sW3zMibjL-y4n9S0oF_91i49AP74BYObxQtWKWgitA@mail.gmail.com/2.pdf" filename="2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/A2.pdf" extension="pdf" size="170173" creationdate="07/02/2018 15:31:48" mimetype="application/pdf" mimeencoding="binary">
                    <Metadata>
                        <filename>test pj avec éleio michel   augustin .pdf</filename>
                    </Metadata>
                </Attachment>
            </Attachments>
        </Document>
        <Document id="D4" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CACX9bH9RBPopRAA-ix_v6SqT8GHQ69531=4cem=q0ztorGm7ow@mail.gmail.com/1.2.html" filename="1.2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/D4.html" extension="html" size="457" creationdate="07/02/2018 15:32:03" mimetype="text/html" mimeencoding="us-ascii">
            <Metadata>
                <doc_date>2017-09-28 17:03:44</doc_date>
                <type_id>108</type_id>
                <destination>COU</destination>
                <subject>test PJ KO</subject>
                <fromaddress>Donald Knuck&lt;donald.knuck@amail.com&gt;</fromaddress>
                <frompersonal>John Doe</frompersonal>
                <toaddress>John Doe &lt;john.doe@amail.com&gt;</toaddress>
                <message_id>&lt;CACX9bH9RBPopRAA-ix_v6SqT8GHQ69531=4cem=q0ztorGm7ow@mail.gmail.com&gt;</message_id>
                <targetEntityId>john.doe@amail.com</targetEntityId>
            </Metadata>
            <Attachments>
                <Attachment id="A3" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CACX9bH9RBPopRAA-ix_v6SqT8GHQ69531=4cem=q0ztorGm7ow@mail.gmail.com/2.pdf" filename="2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/A3.pdf" extension="pdf" size="11277154" creationdate="07/02/2018 15:32:03" mimetype="application/pdf" mimeencoding="binary">
                    <Metadata>
                        <filename>Catalogue Formation CJD 2016 -  2017 .pdf</filename>
                    </Metadata>
                </Attachment>
            </Attachments>
        </Document>
        <Document id="D5" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CACX9bH8mNsZUci_Nr=qNABCsq03RnyO4i-sndC=T-WJ58mY-QA@mail.gmail.com/1.2.html" filename="1.2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/D5.html" extension="html" size="464" creationdate="07/02/2018 15:32:04" mimetype="text/html" mimeencoding="us-ascii">
            <Metadata>
                <doc_date>2017-09-28 17:00:20</doc_date>
                <type_id>108</type_id>
                <destination>COU</destination>
                <subject>Fwd: test fax</subject>
                <fromaddress>Donald Knuck&lt;donald.knuck@amail.com&gt;</fromaddress>
                <frompersonal>John Doe</frompersonal>
                <toaddress>John Doe &lt;john.doe@amail.com&gt;</toaddress>
                <message_id>&lt;CACX9bH8mNsZUci_Nr=qNABCsq03RnyO4i-sndC=T-WJ58mY-QA@mail.gmail.com&gt;</message_id>
                <targetEntityId>john.doe@amail.com</targetEntityId>
            </Metadata>
            <Attachments>
                <Attachment id="A4" resourcepath="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/CACX9bH8mNsZUci_Nr=qNABCsq03RnyO4i-sndC=T-WJ58mY-QA@mail.gmail.com/2.pdf" filename="2" path="/opt/maarch/MaarchCapture/files//BMAARCH_MAIL_TO_MC-1518013905-521200629/A4.pdf" extension="pdf" size="170173" creationdate="07/02/2018 15:32:04" mimetype="application/pdf" mimeencoding="binary">
                    <Metadata>
                        <filename>1.pdf</filename>
                    </Metadata>
                </Attachment>
            </Attachments>
        </Document>
    </Documents>
</Batch>

results matching ""

    No results matching ""