Versions Compared

Key

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

...

This web service retrieves a list of time card approvers (PwsTimeEntryProject) or time off time cards (PwsTimeEntryTimeOffPwsUserSummary), based upon a unique time card identifier (PwsTimeCardRef)

...

Element

Data Type

Required?

Description

Sample Data

RequestId

Int32

No

Click here for more information.

SessionTicket

String

Yes 

Click here for more information.

AT9QI7QhQKsYP2rPMg5Ilg== 

TimeCardIdentity

PwsTimeCardRef

Yes 

The identity of the time card.


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:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsGetTimeCardApprovers>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AT9QI7QhQKsYP2rPMg5Ilg==</req:SessionTicket>
            <tim:TimeCardIdentity>
               <com:TimecardType>T</com:TimecardType>
               <com:TimecardUid>1152921504646141267</com:TimecardUid>
            </tim:TimeCardIdentity>
         </pws:serviceRequest>
      </pws:PwsGetTimeCardApprovers>
   </soapenv:Body>
</soapenv:Envelope>

...

Panel
titlePwsGetTimeCardApprovers 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.

Status

RequestStatus

Click here for more information.

Ok 

ServerTimestampUtc

DateTime

Click here for more information.

2018-03-12T14:50:07.7100629Z

Approvers

PwsUserSummary[

???

]

The identity of the time card approver(s)

 

.


Response Usage Example(s)

...

ErrorNumber

ErrorCode

ErrorText

19093UnexpectedTimeCardTypeUnexpected value for TimeCardType. Valid values are T or R.
64220InvalidTimeCardA specified time card identity was incomplete. Each time card identity must specify either a time card id or time card uid.