Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Overview

This data type includes the detailed information on a document. 

Format

PwsDocument
  • PwsDocument
    • DocumentRefId: Int32
    • DocumentRefUid: Int64
    • CreatedByUserIdentity: PwsUserRef
    • CreatedTimestamp: DateTime
    • CurrentVersion: PwsDocumentVersion
    • DeletedByUserIdentity: PwsUserRef
    • DeletedTimestamp: DateTime
    • DocumentName: String
    • DocumentSize: Int64
    • DocumentUri: String
    • LockedByUserIdentity: PwsUserRef
    • LockedTimestamp: DateTime
    • MimeType: String
    • ModifiedByUserIdentity: PwsUserRef
    • ModifiedTimestamp: DateTime
    • SupportPreviewFlag: Boolean
    • SupportThumbnailFlag: Boolean
    • DocumentData: PwsDocumentDataElement
    • EditDeleteFlag: Boolean
    • NumberPages: Int16
    • ArchiveIdentity: PwsDocumentArchiveRef
    • EditDeletePermissionFlag: Boolean
    • ReceiptLockedFlag: Boolean

Elements

Element

Data Type

Description

Sample Data

DocumentRefId

Int32

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


DocumentRefUid

Int64

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

1152921504607634579

CreatedByUserIdentity

PwsUserRef

The user that created this document. Click here for more information.


CreatedTimestamp

DateTime

The date time when this document was created

2018-02-05T20:23:46.55Z

CurrentVersion

PwsDocumentVersion

The current version of this document. Click here for more information.


DeletedByUserIdentity

PwsUserRef

The user that deleted this document. Click here for more information.


DeletedTimestamp

DateTime

The date time when this document was deleted

2018-02-06T21:33:21.11Z

DocumentName

String

The name of the document

CFS poster.jpg

DocumentSize

Int64

The size of the document in bytes

92531

DocumentUri

String

The URL of the document


LockedByUserIdentity

PwsUserRef

The user that has this documented locked. Click here for more information.


LockedTimestamp

DateTime

The date time when this document was locked


MimeType

String

The file mime type of this document

image/jpeg

ModifiedByUserIdentity

PwsUserRef

The user that last modified this document. Click here for more information.


ModifiedTimestamp

DateTime

The date time when this document was modified

2018-02-06T21:33:21.11Z

SupportPreviewFlag

Boolean

If set to 'true', this document can be previewed.

true

SupportThumbnailFlag

Boolean

If set to 'true', this document can support thumbnail display.

true

DocumentData

PwsDocumentDataElement

The data about the document. Click here for more information.


EditDeleteFlag

Boolean

If set to 'true', requesting user has permission and the receipt is not locked if the document is a receipt

true

NumberPages

Int16

The number of pages in this document

3

ArchiveIdentity

PwsDocumentArchiveRef

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


EditDeletePermissionFlag

Boolean

If set to 'true', requesting user has permission to add or delete the document.

true

ReceiptLockedFlag

Boolean

Applies to a receipt document. If set to 'true', this document is locked and cannot be edited.

false


Usage Example(s)


Example 01
            <a:Document>
               <DocumentRefId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <DocumentRefUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607634579</DocumentRefUid>
               <a:CreatedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504606950320</b:UserUid>
               </a:CreatedByUserIdentity>
               <a:CreatedTimestamp>2018-02-05T20:23:46.55Z</a:CreatedTimestamp>
               <a:CurrentVersion>
                  <DocumentVersionId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <DocumentVersionUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607637642</DocumentVersionUid>
                  <a:Comments i:nil="true"/>
                  <a:CreatedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504606950320</b:UserUid>
                  </a:CreatedByUserIdentity>
                  <a:CreatedTimestamp>2018-02-05T20:23:46.55Z</a:CreatedTimestamp>
                  <a:DocumentArchiveIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:DocumentArchiveId i:nil="true"/>
                     <b:DocumentArchiveName>archive_20180313134130_revcorp-doc</b:DocumentArchiveName>
                     <b:DocumentArchiveUid>1152921504606847216</b:DocumentArchiveUid>
                  </a:DocumentArchiveIdentity>
                  <a:VersionNumber>1</a:VersionNumber>
               </a:CurrentVersion>
               <a:DeletedByUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
               <a:DeletedTimestamp i:nil="true"/>
               <a:DocumentName>CFS poster.jpg</a:DocumentName>
               <a:DocumentSize>92531</a:DocumentSize>
               <a:DocumentUri i:nil="true"/>
               <a:LockedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504606950320</b:UserUid>
               </a:LockedByUserIdentity>
               <a:LockedTimestamp>2018-03-13T18:12:06.64Z</a:LockedTimestamp>
               <a:MimeType>image/jpeg</a:MimeType>
               <a:ModifiedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504606950320</b:UserUid>
               </a:ModifiedByUserIdentity>
               <a:ModifiedTimestamp>2018-02-05T20:23:46.55Z</a:ModifiedTimestamp>
               <a:SupportPreviewFlag>true</a:SupportPreviewFlag>
               <a:SupportThumbnailFlag>true</a:SupportThumbnailFlag>
               <a:DocumentData>
                  <a:DataItems/>
                  <a:DocumentDataDetail>
                     <a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                        <b:ItemId i:nil="true"/>
                        <b:ItemType i:nil="true"/>
                        <b:ItemUid>1152921504606875457</b:ItemUid>
                        <b:ReferenceType i:nil="true"/>
                     </a:AssociatedItemIdentity>
                     <a:Associations/>
                     <a:Notes i:nil="true"/>
                  </a:DocumentDataDetail>
               </a:DocumentData>
               <a:EditDeleteFlag>true</a:EditDeleteFlag>
               <a:NumberPages i:nil="true"/>
               <a:ArchiveIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                  <b:DocumentArchiveId i:nil="true"/>
                  <b:DocumentArchiveName>archive_20180313134130_revcorp-doc</b:DocumentArchiveName>
                  <b:DocumentArchiveUid>1152921504606847216</b:DocumentArchiveUid>
               </a:ArchiveIdentity>
               <a:EditDeletePermissionFlag>true</a:EditDeletePermissionFlag>
               <a:ReceiptLockedFlag>false</a:ReceiptLockedFlag>
            </a:Document>       
  • No labels