Overview
This data strcture is part of the response for the method PwsGetResourcePto and contains scheduled time off up to end of current year.
Format
- PwsScheduledTimeOff
- ScheduledTimeOffId: Int32
- ScheduledTimeOffUid: Int64
- ApprovalStatus: String
- BeginDate: DateTime
- DailyTimeOffMinutes: Int32
- EffectiveTimeOffMinutes: Int32
- EndDate: DateTime
- RejectedByUser: PwsUserSummary
- RejectedReason: String
- RejectedTimestamp: DateTime
- TimeOffComment: String
- TimeOffReasonIdentity: PwsTimeOffReasonRef
- TimeOffYear: Int32
- Timestamp: Byte[]
Elements
Element | Data Type | Description |
---|---|---|
ScheduledTimeOffId | Int32 | The scheduled time off Id is a unique identifier for a scheduled time off record. For internal use only. |
ScheduledTimeOffUid | Int64 | The scheduled time off UID is a unique and immutable identifier for a scheduled time off record. |
ApprovalStatus | String | The approval status of a scheduled time off request. "A" for approved, "R" for rejected and "P" for requested (pending approval). |
BeginDate | DateTime | The begin date of the time off request. |
DailyTimeOffMinutes | Int32 | The amount of time per day requested, expressed in minutes. Use 1440 for a full day. |
EffectiveTimeOffMinutes | Int32 | The total time off, expressed in minutes, for the entire duration of the time off request, constrained by the resource's working minutes. |
EndDate | DateTime | The end date of the time off request. |
RejectedByUser | If rejected, the user who rejected the scheduled time off request. | |
RejectedReason | String | The reason associated with the rejection. |
RejectedTimestamp | DateTime | The date and time that the request was rejected. |
TimeOffComment | String | The commets associated with the time off request. |
TimeOffReasonIdentity | The time off reason associated with the time off request. | |
TimeOffYear | Int32 | The year of the begin date for this time off request. |
Timestamp | Byte[] | Timestamp of time off request, for optimistic locking. |