PwsResourceAvailableTimeoffDetail

Overview


This structure contains the complete set of information about a resource's available time off. The structure is used both to retrieve detailed resource available time off information and to pass information about a resource's available time off back to the server to get updated.

Format


PwsResourceAvailableTimeOffDetail
  • PwsResourceAvailableTimeOffDetail

Elements


Element

Data Type

Required?

Description

Sample Data

AdditionalAvailableMinutes

Int32

No

Additional time off minutes added for this period.

4800

AsOfDate

DateTime

Yes

Start of time off period.

2018-01-01T00:00:00.000Z

ResourceIdentity

PwsResourceRef

Yes

The identity of the resource.


StartingAvailableMinutes

Int32

No

Available hours from previous period.

160

TimeOffReasonIdentity

PwsTimeOffReasonRef

Yes 

The time off reason identity.


Usage Example(s)


Example 01
               <dat:PwsResourceAvailableTimeOffDetail>
                  <dat:AdditionalAvailableMinutes>4800</dat:AdditionalAvailableMinutes>
                  <dat:AsOfDate>2018-01-01T00:00:00.000Z</dat:AsOfDate>
                  <dat:ResourceIdentity>
                     <com:ResourceReferenceSystemId>E123</com:ResourceReferenceSystemId>
                  </dat:ResourceIdentity>
                  <dat:StartingAvailableMinutes>160</dat:StartingAvailableMinutes>
                  <dat:TimeOffReasonIdentity>
                     <com:TimeOffReasonName>Vacation</com:TimeOffReasonName>
                  </dat:TimeOffReasonIdentity>
               </dat:PwsResourceAvailableTimeOffDetail>