Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
titlePwsResourceAvailableTimeOffDetail
  • 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)


Code Block
languagexml
titleExample 01
collapsetrue
               <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>