Versions Compared

Key

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

...

Panel
titlePwsGetFolderContents Request
  • PwsGetFolderContents

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No

 


Click here for more information.

1

SessionTicket

String

Yes 

 


Click here for more information.

AZZNMfO8vxeYuc3WXDkixw==

FolderIdentity

PwsFolderRef

Yes 

 


The folder identity

 


IncludeDeletedDocumentsFlag

Boolean

No 

 false

If set to 'true', documents that have been deleted will be included in the response 

true

IncludeNotesFlag

Boolean

No 

false 

If set to 'true',

receipt

notes will be included in the response

- applicable only when retrieving documents from an expense report folder

true

Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:doc="http://projectorpsa.com/DataContracts/Shared/DocumentManagement/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetFolderContents>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AZZNMfO8vxeYuc3WXDkixw==</req:SessionTicket>
            <doc:FolderIdentity>
               <com:FolderUid>1152921504607349085</com:FolderUid>
            </doc:FolderIdentity>
            <doc:IncludeDeletedDocumentsFlag>true</doc:IncludeDeletedDocumentsFlag>
            <doc:IncludeNotesFlag>true</doc:IncludeNotesFlag>
         </pws:serviceRequest>
      </pws:PwsGetFolderContents>
   </soapenv:Body>
</soapenv:Envelope>

...

Panel
titlePwsGetFolderContents Response

Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage

The web service response status and message. Click here for more information.

 


ResponseId

Int32

Click here for more information

1

Status

RequestStatus

Click here for more information

 


ServerTimestampUtc

DateTime

Click here for more information

2018-03-16T17:37:44.8271491Z

Folder

PwsFolder

The complete details of the folder and the folder contents

 


Response Usage Example(s)

...


ErrorNumber

ErrorCode

ErrorText

21001FolderRequiredForGetFolderContentsA folder identity must be specified.
75205FolderNotFoundFolder not found.