PwsScheduleTimeOff

Overview


This structure represents a resource's scheduled time off for a specific time off reason over a range of dates.

Format


PwsScheduleTimeOff
  • PwsScheduleTimeOff

Elements


Element

Data Type

Description

Sample Data

TimeOffReasonId

Int32

The time off reason Id is a unique identifier for a time off reason. For internal use only.


TimeOffReasonName

String

The time off name is a unique identifier for a time off reason.

Vacation

TimeOffReasonUid

Int64

The time off reason Uid is a unique and immutable identifier for a time off reason.

1152921504606858293

TimeOffDates

PwsScheduleTimeOffDate []

The dates and time off minutes associated with the specified time off reason.


Usage Example(s)


Example 01
              <a:TimeOff>
                  <a:PwsScheduleTimeOff>
                     <TimeOffReasonId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                     <TimeOffReasonName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">Vacation</TimeOffReasonName>
                     <TimeOffReasonUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606858293</TimeOffReasonUid>
                     <a:TimeOffDates>
                        <a:PwsScheduleTimeOffDate>
                           <a:Date>2018-03-30T00:00:00Z</a:Date>
                           <a:TimeOffMinutes>1440</a:TimeOffMinutes>
                        </a:PwsScheduleTimeOffDate>
                        <a:PwsScheduleTimeOffDate>
                           <a:Date>2018-03-31T00:00:00Z</a:Date>
                           <a:TimeOffMinutes>1440</a:TimeOffMinutes>
                        </a:PwsScheduleTimeOffDate>
                     </a:TimeOffDates>
                  </a:PwsScheduleTimeOff>
               </a:TimeOff>