Overview
This structure is part of the response of method PwsGetResourcePto and captures the details of a reported time off.
Format
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Description |
---|---|---|
ReferenceId | StringReference id (used to affiliate PwsSaveTimecardResult | records with associated PwsTimeCardDetail records)Not applicable for this service. |
TimecardId | Int32 | The time card Id is a unique identifier for a time off card. For internal use only. |
TimecardType | String | The type of a time card. 'T' for time card associated with a project and ' This will always be 'R' for reported time off. |
TimecardUid | Int64 | The time card Id UID 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 reasonThe identity of the time off reason associated with the reported time off. | |
TimeOffYear | Int32 | The year of the reported time off. |
WorkDate | DateTime | The date associated with the reported time off |
TWorkMinutes | Int32 | The duration of the reported time off minutes associated with this reported time off, expressed in minutes. |
Usage Example(s)
Code Block | ||||
---|---|---|---|---|
| ||||
<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> |
...