Overview
This structure is part of the response of method PwsGetResourcePto and captures the details of a reported time off.
Format
- PwsHistoricalReportedTimeOff
- ReferenceId: String
- TimecardId: Int32
- TimecardType: String
- TimecardUid: Int64
- Description: String
- TimeOffReasonIdentity: PwsTimeOffReasonRef
- TimeOffYear: Int32
- WorkDate: DateTime
- WorkMinutes: Int32
Elements
Element | Data Type | Description |
---|---|---|
ReferenceId | String | Reference id (used to affiliate PwsSaveTimecardResult records with associated PwsTimeCardDetail records). |
TimecardId | Int32 | The time card Id is a unique identifier for a time card. For internal use only. |
TimecardType | String | The type of a time card. 'T' for time card associated with a project and 'R' for reported time off. |
TimecardUid | Int64 | The time card Id is a unique and immutable identifier for a time card. |
Description | String | The time card description. |
TimeOffReasonIdentity | This structure represents the unique key fields associated with identifying a time off reason. | |
TimeOffYear | Int32 | The year of the reported time off. |
WorkDate | DateTime | The date associated with the reported time off |
TWorkMinutes | Int32 | The time off minutes associated with this reported time off. |
Usage Example(s)
<a:PwsHistoricalReportedTimeOff> <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/> <TimecardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/> <TimecardType xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">R</TimecardType> <TimecardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504609106130</TimecardUid> <a:Description i:nil="true"/> <a:TimeOffReasonIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"> <b:TimeOffReasonId i:nil="true"/> <b:TimeOffReasonName>Vacation</b:TimeOffReasonName> <b:TimeOffReasonUid>1152921504606854584</b:TimeOffReasonUid> </a:TimeOffReasonIdentity> <a:TimeOffYear>2022</a:TimeOffYear> <a:WorkDate>2022-07-06T00:00:00</a:WorkDate> <a:WorkMinutes>450</a:WorkMinutes> </a:PwsHistoricalReportedTimeOff>