...
This structure represents the unique key fields associated with identifying a Time Card. Time Cards can be identified by ReferenceId or TimeCardUid. When specifying PwsVersionedTimeCardRef as an input to a web service, you may specify one or more of these fields. However, if you do specify more than one key, they must refer to the same time card or the request will fail.with a TimeCardUid.
Format
Panel | ||
---|---|---|
| ||
|
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
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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> |