DocumentRevisionType Data Type

The document revision type represents a snapshot of a document at a defined point in time. It contains all document related data, including index data, document structure data and content.

Properties
name data type description
indexData map of PropertyType Returns the index data.
documentElement DocumentElementType Returns the document element.
documentId DocumentReferenceType Returns the document id.
revisionTag string Returns the revision tag.
previousRevisionId DocumentRevisionReferenceType Returns the previous revision id.
archiveReference ArchiveReferenceType Returns the archive reference.
modificationMetaData ModificationMetaDataType
contentMetaData DocumentContentMetaDataType
rowData map of PropertyType Get the index data of this document revision
Properties inherited from ResourceType
reference ReferenceType Returns the resource's object reference.

Example

{
  "indexData" : {
    "property1" : {
      "type" : "FLOAT",
      "memberType" : "XML",
      "propertyValue" : { }
    },
    "property2" : {
      "type" : "TIME",
      "memberType" : "FLOAT",
      "propertyValue" : { }
    }
  },
  "documentElement" : {
    "creationDate" : 12345,
    "variables" : {
      "property1" : "...",
      "property2" : "..."
    },
    "nodeType" : "LINK",
    "children" : [ { }, { } ],
    "reference" : { }
  },
  "documentId" : {
    "ddcName" : "...",
    "sysRowId" : "..."
  },
  "revisionTag" : "...",
  "previousRevisionId" : {
    "hdoc" : "..."
  },
  "archiveReference" : {
    "name" : "...",
    "contentType" : "LOOKUP"
  },
  "modificationMetaData" : {
    "creationDate" : 12345,
    "creationUser" : {
      "type" : "GROUP",
      "name" : "...",
      "deleted" : true,
      "reference" : { }
    },
    "lastModificationDate" : 12345,
    "lastModificationUser" : {
      "type" : "USER",
      "name" : "...",
      "deleted" : true,
      "reference" : { }
    }
  },
  "contentMetaData" : {
    "hashes" : [ {
      "algorithmName" : "...",
      "hash" : "..."
    }, {
      "algorithmName" : "...",
      "hash" : "..."
    } ],
    "contentSize" : 12345,
    "compressedSize" : 12345,
    "storageSize" : 12345,
    "fileNames" : [ {
      "usableSpace" : 12345,
      "absolute" : true,
      "freeSpace" : 12345,
      "file" : true,
      "path" : "...",
      "absoluteFile" : { },
      "directory" : true,
      "hidden" : true,
      "absolutePath" : "...",
      "totalSpace" : 12345,
      "canonicalPath" : "...",
      "parentFile" : { },
      "name" : "...",
      "parent" : "...",
      "canonicalFile" : { }
    }, {
      "usableSpace" : 12345,
      "absolute" : true,
      "freeSpace" : 12345,
      "file" : true,
      "path" : "...",
      "absoluteFile" : { },
      "directory" : true,
      "hidden" : true,
      "absolutePath" : "...",
      "totalSpace" : 12345,
      "canonicalPath" : "...",
      "parentFile" : { },
      "name" : "...",
      "parent" : "...",
      "canonicalFile" : { }
    } ]
  },
  "rowData" : {
    "property1" : {
      "type" : "DATETIME",
      "memberType" : "FLOAT",
      "propertyValue" : { }
    },
    "property2" : {
      "type" : "ENUMLIST",
      "memberType" : "TIME",
      "propertyValue" : { }
    }
  },
  "reference" : { }
}