Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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. 

Name

String

The name of the holiday

TimeOffMinutes

Int32

The time off minutes of the day.  1440 minutes (24 hours) indicates this is 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>



  • No labels