Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

The detailed version information on a document. 

Format

Panel
titlePwsDocumentVersion
  • PwsDocumentVersion
    • DocumentVersionId: Int32
    • DocumentVersionUid: Int64
    • Comments: String (255)
    • CreatedByUserIdentity: PwsUserRef
    • CreatedTimestamp: DateTime
    • DocumentArchiveIdentity: PwsDocumentArchiveRef
    • VersionNumber: Int16

...

Element

Data Type

Description

Sample Data

DocumentVersionId

Int32

The document version Id is a unique identifier for a document version. For internal use only.


DocumentVersionUid

Int64

The document version Uid is a unique identifier for a document version.

115292150460694426

Comments

String (255)

???


CreatedByUserIdentity

PwsUserRef

The identity of the created by user. Click here for more information.


CreatedTimestamp

DateTime

The timestamp of document creation

2018-03-13T17:09:19.637Z

DocumentArchiveIdentity

PwsDocumentArchiveRef

This element is null unless the document has been archived and the archive has been downloaded (accepted). Click here for more information.


VersionNumber

Int16

The version number

1

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
                  <DocumentVersionId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <DocumentVersionUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607656916</DocumentVersionUid>
                  <a:Comments i:nil="true"/>
                  <a:CreatedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>PPSA Support User</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>000</b:UserReferenceSystemId>
                     <b:UserUid>1152921504606944261</b:UserUid>
                  </a:CreatedByUserIdentity>
                  <a:CreatedTimestamp>2018-03-13T17:09:19.637Z</a:CreatedTimestamp>
                  <a:DocumentArchiveIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:VersionNumber>1</a:VersionNumber>

...