PwsScheduleBooking

Overview


This structure represents a user's scheduled hours against a project task

Format


PwsScheduleBooking
  • PwsScheduleBooking
    • DailyWeeklyFlag: String
    • Date: DateTime
    • Notes: String (4000) [7]
    • ScheduledMinutes: Int32

Elements


Element

Data Type

Description

Sample Data

DailyWeeklyFlag

String

The scheduling mode applied to the booking:

'D' for Daily

'W' for Weekly

W

Date

DateTime

The date of the first day associated with the scheduling hours (in UTC format).

2018-03-25T00:00:00Z 

Notes

String (4000) [7]

The notes associated with the booked hours. This consists of an array of 7 days representing the 7 days of the week.

Start of investigation

ScheduledMinutes

Int32

The total number of scheduled minutes associated with the booking.

1200

Usage Examples


Example 01
                        <a:PwsScheduleBooking>
                           <a:DailyWeeklyFlag>W</a:DailyWeeklyFlag>
                           <a:Date>2018-03-25T00:00:00Z</a:Date>
                           <a:Notes xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                              <b:string i:nil="true"/>
                              <b:string>Start of investigation</b:string>
                              <b:string i:nil="true"/>
                              <b:string i:nil="true"/>
                              <b:string i:nil="true"/>
                              <b:string i:nil="true"/>
                              <b:string i:nil="true"/>
                           </a:Notes>
                           <a:ScheduledMinutes>1200</a:ScheduledMinutes>
                        </a:PwsScheduleBooking>