Versement d'archive

Route

POST http:// [Nom de l'instance web service] /recordsManagement/archive

Description

Route de service web permettant le dépôt d'une archive dans le système d'archivage électronique

Paramètres

Variable de chemin

Nom de la propriété Type Description
Néant

En-tête

Nom de l'en-tête Type Description
Accept string application/json
Content-Type string application/json
Nom du cookie Type Description
LAABS-AUTH string Jeton de connexion à l'application URL encodé
Génération d'un jeton

Argument de requête

Nom de la propriété Type Description
Néant

Corps

Nom de la propriété Type Description
archive object Archive
zipContainer boolean Indique si la ressource est un zip à décompresser

Exemple

Requête

POST http://maarchrm/recordsManagement/archive

Headers

Accept          application/json
Content-Type    application/json
Cookie          LAABS-AUTH=phdF9WkJuTKkDuPXoqDZuOjLMAFGC6Zru9T2pCmR5ZzEVAKD8OVzdjX1SJu3mljOwUq3aj%2B%2Fji4%3D

Body

{
  "archive": {
    "digitalResources":[{
      "handler":"iVBORw0KGgoAAAANSUhEUgAAAGYAAABmCAMAAAAOARRQAAAAgVBMVEX///8AAAD09PQEBAT+/v4EBAMBAQH9/f339/fY2NiOjo6Kioo8PDyFhYWCgoKlpaXPz8/g4OCenp4oKCjp6eltbW0fHx9OTk7w8PC2trbc3NwsLCxRUVFoaGgbGxsWFha/v781NTXKysp3d3erq6tfX14QEBBGRkZBQUEwMDCVlZUvJfD0AAAFwElEQVRogb2aiXarIBCGxQ1MY9TErG1v0i1t8/4PeNnUYURE05Zzzz35i/rJDPIDGgR/X2JeflOrQkVBOp6vY1w/TJmqXXeh/8oYo/469tB/QGHofD8KPmuq7q76w7oPiavX4sEoeZ4jOU8XZS1wMkf1+pv8Wvm+1YHsCtkHVymoSaIoSoDmMsL1SCcO/ZGJ1lR7DklT4yiD4nFVZz3Zn3iX2AqKee9J4jgL6RTrCGn+e8uCsk/ptyU16p3UXr04uQzejLTYKW7tohJ1j2/BL3YyQU0k5jG46j/svpZL/k//t+x+3aG/dkSlOQ0a7lt1OmVlWWantgh5l862REewxeT2cS1G2jXCMKzjVXN1gGFhGBqj352aKxvGPCpm92sLZk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Y+To6fCbqvWTKTv0JpVj1BhtWXhov5GYWXnp9KZiY34jMKNXHcnbJmNWvwFGIDCW52PseTEizDFqZxn5TWJgPPLSo4LqVGA6I7D7TWXuDM0qzZTa4TeHYr1eF6Csp+vi0GGG1jfoHR+ld+hhvxneURQFryywpnrm1GK81zcMzVjh2wmrBlS7EXjtkLg0ot69vvFrm9VvfHdIhjSO2JDfjL31mawtRrCVb7xAKe/X2baH2S1/vnw164o00Duo0eQRZUp5DN4kjQ9/k+aW6CVsb/RE+k28LBZbUMmUkd5jHm1QSKlefY/Px7zmZwP14tW3epHvvKpt3kzM442IoYjKF/n6swR01B0R6kVMfZYQB7Xec/yV8iI+sgjUN0R1WSx0ER96LEC5T7+XFVNTppi63jt7jDDUS8doX5NhJ4Bjrk0HDo02vpqrur8wEk01KdN010JmtG2alh8COLQ+C32DZdX4eKDHPqNqznJ/xeal8fV6lKnfzs2k/O53g/8BlGuCrjCsAJkAAAAASUVORK5CYII=",
      "size":"1670",
      "fileName":"Mon image",
      "mimetype":"image/png"
    }],
    "descriptionObject":{},
    "archiveName":"Definition objet archive",
    "originatorArchiveId":"identifiantProducteur",
    "originatingDate":"2018-02-21",
    "archivalProfileReference":"FacturesFournisseurs",
    "originatorOrgRegNumber":"regNum_CPTFOUR",
    "retentionRuleCode":"RegleConservationFacture",
    "retentionStartDate":"2018-01-13",
    "accessRuleCode":"RegleAccesFacture",
    "accessRuleStartDate":"2018-01-13"
    "fullTextIndexation":"none",
    "descriptionClass":"",
    "filePlanPosition":"maarchRMAP_p309cs-1ea8-0625do"
  },
  "zipContainer":false
}

Réponses

Succès

Le service web retourne l'identifiant de l'archive générée par le logiciel d'archivage.

Code HTTP 200

retour

maarchRMAP_oq1bgp-10e5-4x356y

Erreur

todo

results matching ""

    No results matching ""