Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titlePwsScheduleTimeOff
  • PwsScheduleTimeOff
    • TimeOffReasonId: Int32
    • TimeOffReasonName: String
    • TimeOffReasonUid: Int64
    • TimeOffDates: PwsScheduleTimeOffDate [???]

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 associated with the scheduled time off


Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
              <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>