PwsProjectRoleActualsBucket

Overview


This structure represents actual data (reported time) for a specific role on a specific week.

Format


PwsProjectRoleActualsBucket
  • PwsProjectRoleActualsBucket
    • ApprovedMinutes: Int32[]
    • BucketStartDate: DateTime
    • UnapprovedMinutes: Int32[]

Elements


Element

Data Type

Description

Sample Data

ApprovedMinutes

Int32[]

The number of approved minutes by day. This array will contain 7 values. The account's first day of week setting determines which day of the week each value corresponds to, with index 0 corresponding to the configured first day of week.


BucketStartDate

DateTime

The time bucket start date. Always the first day of a week as configured for the account.

2020-01-06T00:00:00Z

UnapprovedMinutes

Int32[]

The number of unapproved minutes by day.


Usage Example(s)


Example 01
                  <b:ActualBuckets>
                     <b:PwsProjectRoleActualsBucket>
                        <b:ApprovedMinutes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                           <c:int>480</c:int>
                           <c:int>480</c:int>
                           <c:int>480</c:int>
                           <c:int>480</c:int>
                           <c:int>480</c:int>
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                        </b:ApprovedMinutes>
                        <b:BucketStartDate>2020-01-06T00:00:00Z</b:BucketStartDate>
                        <b:UnapprovedMinutes xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                           <c:int>0</c:int>
                        </b:UnapprovedMinutes>
                     </b:PwsProjectRoleActualsBucket>
                  </b:ActualBuckets>