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

Overview


This structure represents the unique key fields associated with identifying a Time Card. Time Cards can be identified with a TimeCardUid. 

Format


PwsVersionedTimecardRef
  • PwsVersionedTimecardRef
    • ReferenceId: String
    • TimecardId: Int32
    • TimecardType: String
    • TimecardUid: Int64
    • Timestamp: String


Elements


Element

Data Type

Required?

Description

Sample Data

ReferenceId

String

 No

This is a user-defined ID for time card. It allows user to tag time cards that are submitted in a web service request, and is echoed in the web service response to allow users to correlate time cards in the response to the ones in the request.


TimecardId

Int32

No 

The time card Id is a unique identifier for a time card. For internal use only.


TimecardType

String

Yes 

The time card type:

'T' for time card associated with a project

'R' for reported time off


TimecardUid

Int64

Yes 

The time card Uid is a unique and immutable identifier for a time card.


Timestamp

String

No 

This is a Base64 encoded timestamp optionally utilized for time card locking.



Usage Elements


Example 01
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSetTimeCardApprovalWorkflowStatusResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSetTimeCardApprovalWorkflowStatusResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-08-22T17:26:30.6342705Z</ServerTimestampUtc>
            <a:TimeCardIdentities xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:PwsTimecardRef>
                  <b:ReferenceId i:nil="true"/>
                  <b:TimecardId i:nil="true"/>
                  <b:TimecardType>T</b:TimecardType>
                  <b:TimecardUid>1152921504648551406</b:TimecardUid>
               </b:PwsTimecardRef>
            </a:TimeCardIdentities>
         </PwsSetTimeCardApprovalWorkflowStatusResult>
      </PwsSetTimeCardApprovalWorkflowStatusResponse>
   </s:Body>
</s:Envelope>
  • No labels