PwsDocumentVersion

Overview

The detailed version information for a document. Some, but not all, document types, such as project workspace attachments, support versioning, meaning Projector can hold onto older versions of the document. The following document types support versioning:

  • Project Workspace Attachments
  • Project Issue Attachments
  • Resource Resumes
  • Invoice Attachments

The following do not:

  • Receipts
  • Payment Voucher Attachments

Format

PwsDocumentVersion
  • PwsDocumentVersion
    • DocumentVersionId: Int32
    • DocumentVersionUid: Int64
    • Comments: String String **deprecated**
    • CreatedByUserIdentity: PwsUserRef
    • CreatedTimestamp: DateTime
    • DocumentArchiveIdentity: PwsDocumentArchiveRef
    • VersionNumber: Int16

Elements

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

This element has been deprecated.


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)


Example 01
                  <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>