Versions Compared

Key

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

...

This web service retrieves the history of a specified time card (PwsTimeCardRef). The history of a time card or time off card will include information about each event that affected the card (creation, submission, approval, etc).

Request Format


Panel
titlePwsGetTimeCardHistory Request

...

Element

Data Type

Required?

Description

Sample Data

RequestId

Int32

No

Click here for more information.

1

SessionTicket

String

Yes

Click here for more information.

Aecd96YCuEmLGBw8W8ML/g==

TimeCardIdentity

PwsTimeCardRef

Yes

The unique key fields associated with identifying a time card or time off 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:PwsGetTimeCardHistory>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>Aecd96YCuEmLGBw8W8ML/g==</req:SessionTicket>
            <tim:TimeCardIdentity>
               <com:TimecardType>T</com:TimecardType>
               <com:TimecardUid>1152921504646141261</com:TimecardUid>
            </tim:TimeCardIdentity>
         </pws:serviceRequest>
      </pws:PwsGetTimeCardHistory>
   </soapenv:Body>
</soapenv:Envelope>

...

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.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-03-08T16:05:07.2635866Z

ResourceIdentity

PwsResourceRef

The resource associated withthe with the time card.


TimeCardIdentity

PwsTimeCardRef

The time card identity.


TimeOffHistory

PwsTimeOffHistory[]

The time off time card history.


TimecardDeletedFlag

Boolean

If set to 'true', the time card has been deleted.

false

TimecardHistory

PwsTimeCardHistory[]

The time card history.


Response Usage Example(s)

...