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 5 Next »

Overview

This web service retrieves a list of engagement element records (PwsEngagementElement), based upon a list of unique engagement identifiers (PwsEngagementRef). 

Request Format

PwsGetProject Request

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32

No


Click here for more information

1

SessionTicket

String (50)

Yes


Click here for more information

AW1yokY4MDImXfp9pM5NRw==
ModeString (1)Yes
The mode determines the hours returned in response. If set to "R", requested hours; "A", booked hours; and "E" effective hours (requested hours for requested roles and booked hours for booked roles).R/A/E

ProjectIdentities

PwsEngagementRef [1..100]

Yes


The details of the projects that are returned


Request Usage Example(s)

Example 01
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:sch="http://projectorpsa.com/DataContracts/Shared/Scheduling/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetProject>
         <pws:serviceRequest>
            <req:SessionTicket>AW1yokY4MDImXfp9pM5NRw==</req:SessionTicket>
            <sch:Mode>R</sch:Mode>
            <sch:ProjectIdentities>
               <com:PwsProjectRef>
                  <com:ProjectCode>P001053-001</com:ProjectCode>
               </com:PwsProjectRef>
            </sch:ProjectIdentities>
         </pws:serviceRequest>
      </pws:PwsGetProject>
   </soapenv:Body>
</soapenv:Envelope>


Response Format


PwsGetProject Response


Response Elements

Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32



Click here for more information.


SessionTicket

String



Click here for more information.


Mode

String





ProjectIdentities

PwsProjectRef






Response Usage Example(s)


Example 01 - Single Engagement
 

PwsGetEngagement - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText

105AtLeastOneItemNotFoundOne or more specified engagements not found
12042NoEngagementsSpecifiedNo engagements specified for retrieval
12044MaximumEngagementIdentitiesExceededAttempt to retrieve more than the maximum allowable number of engagements at once

50045

ViewPermissionDeniedPermission denied
54059EngagementNotSpecifiedA specified engagement reference was incomplete or missing
54064UnexpectedErrorRetrievingEngagementsUnexpected error retrieving engagements
54370NoPermissionToViewEngagementPermission denied to view specific engagement
  • No labels