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

« Previous Version 2 Current »

Overview


This structure is part of the response of method PwsGetResourcePto and captures the details of a reported time off. 

Format

PwsHistoricalReportedTimeOff
  • PwsHistoricalReportedTimeOff
    • ReferenceId: String
    • TimecardId: Int32
    • TimecardType: String
    • TimecardUid: Int64
    • Description: String
    • TimeOffReasonIdentity: PwsTimeOffReasonRef
    • TimeOffYear: Int32
    • WorkDate: DateTime
    • WorkMinutes: Int32

Elements

Element

Data Type

Description

ReferenceId

String

Not applicable for this service.

TimecardId

Int32

The time card Id is a unique identifier for a time off card. For internal use only. 

TimecardType

String

The type of a time card.  This will always be 'R' for reported time off.

TimecardUid

Int64

The time card UID is a unique and immutable identifier for a time card.

Description

String

The time card description.

TimeOffReasonIdentity

PwsTimeOffReasonRef

The identity of the time off reason associated with the reported time off.

TimeOffYear

Int32

The year of the reported time off. 

WorkDate

DateTime

The date associated with the reported time off

TWorkMinutes

Int32

The duration of the reported time off, expressed in minutes. 

Usage Example(s)


Example
               <a:PwsHistoricalReportedTimeOff>
                  <ReferenceId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <TimecardId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <TimecardType xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">R</TimecardType>
                  <TimecardUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504609106130</TimecardUid>
                  <a:Description i:nil="true"/>
                  <a:TimeOffReasonIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:TimeOffReasonId i:nil="true"/>
                     <b:TimeOffReasonName>Vacation</b:TimeOffReasonName>
                     <b:TimeOffReasonUid>1152921504606854584</b:TimeOffReasonUid>
                  </a:TimeOffReasonIdentity>
                  <a:TimeOffYear>2022</a:TimeOffYear>
                  <a:WorkDate>2022-07-06T00:00:00</a:WorkDate>
                  <a:WorkMinutes>450</a:WorkMinutes>
               </a:PwsHistoricalReportedTimeOff>
  • No labels