Overview
This structure is part of the response of for method PwsGetResourcePto and captures the details of a reported time off.
Format
Panel | ||
---|---|---|
| ||
|
Elements
Element | Data Type | Description |
---|---|---|
ReferenceId | String | 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. This will always be 'R' for reported time off. |
TimecardUid | Int64 | The time card UID is a unique and immutable identifier for a time card. |
Description | String | The time card description. |
TimeOffReasonIdentity | The 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, 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> |
...