PwsDailyWorkingMinutes

Overview


This structure returns data for days that are exceptions from the resource's normal working schedule. A holiday or scheduled time off would be a deviation from the resources normal working hours. Rather than returning a working minutes value for all dates covered by a schedule, the resource's normal working hours are returned in PwsResourceSchedule and any exceptions are reported in a PwsDailyWorkingMinutes record. With these two bits of information, a resource's working minutes on any covered day can be determined.

Format


PwsDailyWorkingMinutes
  • PwsDailyWorkingMinutes
    • Date: DateTime
    • HolidayMinutes: Int32
    • TimeOffMinutes: Int32
    • WorkingMinutes: Int32

Elements


Element

Data Type

Description

Sample Data

Date

DateTime

The date in UTC format.

2020-01-20T00:00:00Z

HolidayMinutes

Int32

The number of holiday minutes on this day.

480

TimeOffMinutes

Int32

The number of time off minutes on this day.

0

WorkingMinutes

Int32

The number of working minutes on this day.

0

Usage Example(s)


Example 01
                  <b:WorkingMinutes>
                     <b:PwsDailyWorkingMinutes>
                        <b:Date>2020-01-20T00:00:00Z</b:Date>
                        <b:HolidayMinutes>480</b:HolidayMinutes>
                        <b:TimeOffMinutes>0</b:TimeOffMinutes>
                        <b:WorkingMinutes>0</b:WorkingMinutes>
                     </b:PwsDailyWorkingMinutes>
                  </b:WorkingMinutes>