PwsHolidayPto

Overview


This structure is part of the response for method PwsGetResourcePto and contains the resource's future holiday time off details. 

Format

PwsHolidayPto
  • PwsHolidayPto
    • Date: DateTime
    • EffectiveTimeOffMinutes: Int32
    • Name: String
    • TimeOffMinutes: Int32

Elements

Element

Data Type

Description

Date

DateTime

The date of the holiday. 

EffectiveTimeOffMinutes

Int32

The effective time off minutes of this holiday. It is based on the location's work hour per day. The EffectiveTimeOffMinutes is based upon TimeOffMinutes, but is constrained by the resource's working minutes. 

Name

String

The name of the holiday

TimeOffMinutes

Int32

The total time off, expressed in minutes.  Maximum is 1440 minutes (24 hours), indicating a full day holiday. 

Usage Example(s)


Example 01
               <a:PwsHolidayPto>
                  <a:Date>2022-11-24T00:00:00</a:Date>
                  <a:EffectiveTimeOffMinutes>600</a:EffectiveTimeOffMinutes>
                  <a:Name>Thanksgiving</a:Name>
                  <a:TimeOffMinutes>1440</a:TimeOffMinutes>
               </a:PwsHolidayPto>