Versions Compared

Key

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

...

Panel
titlePwsSearchProjects Request
  • PwsSearchProjects
    • serviceRequest: PwsSearchProjectsRq
      • RequestId: Int32
      • SessionTicket: String
      • AvailableProjectsOnlyFlag: Boolean
      • EndDate: DateTime
      • ListType: String (1)
      • MaximumRows: Int32
      • MruFlag: Boolean
      • ProjectIdentity: PwsProjectRef
      • ResourceIdentity: PwsResourceRef
      • SearchString: String (255)
      • StartDate: DateTime
      • ProjectIdentities: PwsProjectRef[???]
      • DocumentType: String (1)

Request Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information.


SessionTicket

String

Yes


Click here for more information.

AYnZTqq32MHctd+MESbzaQ==

AvailableProjectsOnlyFlag

Boolean





EndDate

DateTime

No


The end date of a project


ListType

String (1)

Yes


The type of project list:

"C" for cost

"T" for time


MaximumRows

Int32

No


The maximum number of records to be returned. This value is disregarded if a project is specified in ProjectIdentity or a list of projects are specified in ProjectIdentities.


MruFlag

Boolean

No

false

If the MRU (most recently used) flag is set, the MRU list (for time or cost as specified by listType) will be returned.

true

ProjectIdentity

PwsProjectRef

No




ResourceIdentity

PwsResourceRef

Yes




SearchString

String (255)

No




StartDate

DateTime

No




ProjectIdentities

PwsProjectRef[???]

No




DocumentType

String (1)

No

??? Luke: All four document types

Applies to list type as "EM". The type of expense document:

"C" for Subcontractor invoice

"E" for Expense report

"S" for Soft cost

 "V" for Vendor invoice

E

Request Usage Example(s)

Code Block
languagexml
titleExample 01 - with project identity
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:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsSearchProjects>
         <pws:serviceRequest>
            <req:SessionTicket>AYnZTqq32MHctd+MESbzaQ==</req:SessionTicket>
            <tim:AvailableProjectsOnlyFlag>false</tim:AvailableProjectsOnlyFlag>
            <tim:EndDate>2018-03-31z</tim:EndDate>
            <tim:ListType>T</tim:ListType>
            <tim:MaximumRows>10</tim:MaximumRows>
            <tim:ProjectIdentity>
               <com:ProjectCode>P001053-001</com:ProjectCode>
            </tim:ProjectIdentity>
            <tim:ResourceIdentity>
               <com:ResourceDisplayName>Barry Allen</com:ResourceDisplayName>
            </tim:ResourceIdentity>
            <tim:SearchString></tim:SearchString>
            <tim:StartDate>2018-01-01z</tim:StartDate>
            <tim:DocumentType></tim:DocumentType>
         </pws:serviceRequest>
      </pws:PwsSearchProjects>
   </soapenv:Body>
</soapenv:Envelope>

...

ErrorNumber

ErrorCode

ErrorText

54282ProjectNotFoundSpecified project does not exist.
57544ResourceRef is requiredResourceRef is required
64223InvalidValueForListTypeThe specified value for ListType is invalid. Valid values are T for time or C for cost.
65421??? [issue 36350] Exactly one of search string, project, and mru flag must be specified.