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 data strcture is part of the response of method PwsGetResourcePto and is used to capture details of the scheduled time off in the past. 

Format

PwsScheduledTimeOff
  • PwsScheduledTimeOff
    • ScheduledTimeOffId: Int32
    • ScheduledTimeOffUid: Int64
    • ApprovalStatus: String
    • BeginDate: DateTime
    • DailyTimeOffMinutes: Int32
    • EffectiveTimeOffMinutes: Int32
    • EndDate: DateTime
    • RejectedByUser: PwsUserSummary
    • RejectedReason: String
    • RejectedTimestamp: DateTime
    • TimeOffComment: String
    • TimeOffReasonIdentity: PwsTimeOffReasonRef
    • TimeOffYear: Int32
    • Timestamp: Byte[]

Elements

Element

Data Type

Description

ScheduledTimeOffId

Int32

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

ScheduledTimeOffUid

Int64

The scheduled time off Id is a unique and immutable identifier for a scheduled time off.

ApprovalStatus

String

The approval status of a scheduled time off request.  "A" for approved, "R" for rejected and "P" for requested.

BeginDate

DateTime

The begin date of the time off request.

DailyTimeOffMinutes

Int32

???

EffectiveTimeOffMinutes

Int32

The time span in the time off request represented in the unit of minute. 

EndDate

DateTime

The end date of the time off request.

RejectedByUser

PwsUserSummary

The user who rejected the scheduled time off request. 

RejectedReason

String

The reason associated with the rejection.

RejectedTimestamp

DateTime

The timestamp of the time off request rejection.

TimeOffComment

String

The commets associated with the time off request. 

TimeOffReasonIdentity

PwsTimeOffReasonRef

This structure represents the unique key fields associated with identifying a time off reason.

TimeOffYear

Int32

The year of the begin date for this time off request. ???

Timestamp

Byte[]

???

Usage Example(s)


Example 01
                <a:PwsScheduledTimeOff>
                  <ScheduledTimeOffId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <ScheduledTimeOffUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607591579</ScheduledTimeOffUid>
                  <a:ApprovalStatus>A</a:ApprovalStatus>
                  <a:BeginDate>2022-09-06T00:00:00</a:BeginDate>
                  <a:DailyTimeOffMinutes>1440</a:DailyTimeOffMinutes>
                  <a:EffectiveTimeOffMinutes>600</a:EffectiveTimeOffMinutes>
                  <a:EndDate>2022-09-06T00:00:00</a:EndDate>
                  <a:RejectedByUser i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
                  <a:RejectedReason i:nil="true"/>
                  <a:RejectedTimestamp>0001-01-01T00:00:00</a:RejectedTimestamp>
                  <a:TimeOffComment 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:Timestamp>AAAAAB9q2nU=</a:Timestamp>
               </a:PwsScheduledTimeOff>
  • No labels