Lecture de toutes les informations d'une archive

Route

GET http:// [Nom de l'instance web service] /recordsManagement/archiveDescription/ [archiveId]

Description

Route de service web permettant la lecture d'une archive et de toutes ses informations dans le système d'archivage électronique

Paramètres

Variable de chemin

Nom de la propriété Type Description
archiveId string Identifiant de l'archive

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
Néant

Exemple

Requête

GET http://maarchrm/recordsManagement/archiveDescription/maarchRM_oynavr-11db-gge90r

Headers

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

Réponses

Succès

Le service web retourne les informations de l'archive et de ses agrégats.

Code HTTP 200

retour

{
  "archiveId": "maarchRM_oynavr-11db-gge90r",
  "archiverArchiveId": null,
  "originatorArchiveId": null,
  "depositorArchiveId": null,
  "archiveName": "images",
  "filePlanPosition": null,
  "originatingDate": null,
  "archivalProfileReference": "CASJU",
  "serviceLevelReference": "serviceLevel_002",
  "archivalAgreementReference": null,
  "retentionRuleCode": null,
  "retentionStartDate": null,
  "retentionDuration": null,
  "finalDisposition": null,
  "disposalDate": null,
  "accessRuleCode": null,
  "accessRuleDuration": null,
  "accessRuleStartDate": null,
  "accessRuleComDate": null,
  "classificationRuleCode": null,
  "classificationRuleDuration": null,
  "classificationRuleStartDate": null,
  "classificationEndDate": null,
  "classificationLevel": null,
  "classificationOwner": null,
  "originatorOrgRegNumber": "DRH",
  "originatorOwnerOrgId": "ACME",
  "originatorOwnerOrgRegNumber": "DRH",
  "depositorOrgRegNumber": null,
  "archiverOrgRegNumber": null,
  "depositDate": "2017-10-30 16:52:39.492665",
  "lastCheckDate": "2018-01-12 14:26:29.437135",
  "lastDeliveryDate": null,
  "lastModificationDate": null,
  "lifeCycleEvent": [
    {
      "eventId": "maarchRM_oynavr-149d-jgzpn7",
      "eventType": "recordsManagement/deposit",
      "instanceName": "maarchRM",
      "timestamp": "2017-10-30 16:52:39.527772",
      "orgRegNumber": "ACME",
      "orgUnitRegNumber": "DRH",
      "accountId": "bblier",
      "objectClass": "recordsManagement/archive",
      "objectId": "maarchRM_oynavr-11db-gge90r",
      "operationResult": true,
      "description": "Dépôt de l'archive maarchRM_oynavr-11db-gge90r",
      "resId": "maarchRM_oynavr-133a-dgpl1e",
      "hashAlgorithm": "SHA256",
      "hash": "06a2dbfefabe127b86516959a80562f56115f4848f68e9bf1376815f9f626804",
      "address": "//maarchRM/ACME/DRH/CASJU/2017/10/30/maarchRM_oynavr-11db-gge90r/maarchRM_oynavr-133a-dgpl1e",
      "originatorOrgRegNumber": "DRH",
      "depositorOrgRegNumber": "",
      "archiverOrgRegNumber": "",
      "format": "",
      "size": 4198
    },
    {
      "eventId": "maarchRM_p2g5g5-1163-zbf7qw",
      "eventType": "recordsManagement/integrityCheck",
      "instanceName": "maarchRM",
      "timestamp": "2018-01-12 14:26:29.445176",
      "orgRegNumber": "ACME",
      "orgUnitRegNumber": "DESR",
      "accountId": "System",
      "objectClass": "recordsManagement/archive",
      "objectId": "maarchRM_oynavr-11db-gge90r",
      "operationResult": true,
      "description": "Validation d'intégrité",
      "resId": "",
      "hash": "",
      "hashAlgorithm": "",
      "address": "/maarchRM/ACME/DRH/CASJU/2017/10/30/maarchRM_oynavr-11db-gge90r",
      "requesterOrgRegNumber": "DESR",
      "info": "Without check"
    }
  ],
  "status": "preserved",
  "fullTextIndexation": "none",
  "descriptionClass": null,
  "descriptionObject": {},
  "fileplanLevel": "item",
  "storagePath": "/maarchRM/ACME/DRH/CASJU/2017/10/30/maarchRM_oynavr-11db-gge90r",
  "parentArchiveId": null,
  "contents": null,
  "digitalResources": [
    {
      "archiveId": "maarchRM_oynavr-11db-gge90r",
      "resId": "maarchRM_oynavr-133a-dgpl1e",
      "clusterId": "archives",
      "size": 4198,
      "puid": null,
      "mimetype": "image/jpeg",
      "hash": "06a2dbfefabe127b86516959a80562f56115f4848f68e9bf1376815f9f626804",
      "hashAlgorithm": "SHA256",
      "fileExtension": "jpg",
      "fileName": "images.jpg",
      "mediaInfo": null,
      "created": "2017-10-30 16:52:39.504190",
      "updated": null,
      "address": [
        {
          "resId": "maarchRM_oynavr-133a-dgpl1e",
          "repositoryId": "archives_1",
          "path": "//maarchRM/ACME/DRH/CASJU/2017/10/30/maarchRM_oynavr-11db-gge90r/maarchRM_oynavr-133a-dgpl1e",
          "created": "2017-10-30 16:52:39.511543",
          "packed": null,
          "lastIntegrityCheck": null,
          "integrityCheckResult": null,
          "repository": {
            "repositoryId": "archives_1",
            "repositoryName": "Digital resource repository for archives",
            "repositoryReference": "repository_test",
            "repositoryType": "fileSystem",
            "repositoryUri": "/var/www/laabs/data/maarchRM/repository/archives_1",
            "maxSize": 0,
            "enabled": null,
            "parameters": "[]"
          }
        },
        {
          "resId": "maarchRM_oynavr-133a-dgpl1e",
          "repositoryId": "archives_2",
          "path": "//maarchRM/ACME/DRH/CASJU/2017/10/30/maarchRM_oynavr-11db-gge90r/maarchRM_oynavr-133a-dgpl1e",
          "created": "2017-10-30 16:52:39.515517",
          "packed": null,
          "lastIntegrityCheck": null,
          "integrityCheckResult": null,
          "repository": {
            "repositoryId": "archives_2",
            "repositoryName": "Digital resource repository for archives 2",
            "repositoryReference": "repository_2",
            "repositoryType": "fileSystem",
            "repositoryUri": "/var/www/laabs/data/maarchRM/repository/archives_2",
            "maxSize": null,
            "enabled": true,
            "parameters": null
          }
        }
      ],
      "format": null,
      "relatedResId": null,
      "relationshipType": null,
      "relatedResource": [],
    }
  ],
  "archiveRelationship": null,
  "originatorOrg": {
    "orgId": "DRH",
    "orgName": "Direction des Ressources Humaines",
    "otherOrgName": null,
    "displayName": "Direction des Ressources Humaines",
    "legalClassification": null,
    "businessType": null,
    "description": null,
    "orgTypeCode": null,
    "orgRoleCodes": null,
    "registrationNumber": "DRH",
    "taxIdentifier": null,
    "beginDate": null,
    "endDate": null,
    "parentOrgId": "ACME",
    "ownerOrgId": "ACME",
    "isOrgUnit": true,
    "users": [],
    "services": [],
    "contacts": [],
    "archivalProfileAccess": [],
  },
  "childrenArchives": [],
  "childrenRelationships": [],
  "parentRelationships": [],
  "communicability": true
}

Erreur

todo

results matching ""

    No results matching ""