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

Version 1 Next »

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

 

AsOfDate

DateTime

Yes

Start of time off period

 

ResourceIdentity

PwsResourceRef

Yes

The identity of the resource

 

StartingAvailableMinutes

Int32

No

Available hours from previous period

 

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>
  • No labels