/
PwsTimeOffSummary

PwsTimeOffSummary

Overview

 

This structure includes basic information about a Time Off record. The information represented in this structure is not comprehensive and only includes certain key attributes.

Format

 

  • PwsTimeOffSummary

    • TimeOffReasonId: Int32

    • TimeOffReasonName: String

    • TimeOffReasonUid: Int64

    • LastYearMinutes: Int32

    • SortOrder: Int16

    • ThisYearMinutes: Int32

Request Elements

 

Element

Data Type

Required?

Description

Sample Data

TimeOffReasonId

Int32

One of TimeOffReasonId, TimeOffReasonName or TimeOffReasonUid is required

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

 

TimeOffReasonName

String

See above

The time off name is a unique identifier for a time off reason.

Vacation

TimeOffReasonUid

Int64

See above

The time off reason Uid is a unique and immutable identifier for a time off reason.

1152921504606858293

LastYearMinutes

Int32

No

The time off minutes from the previous year

4320

SortOrder

Int16

No

The sort order of the time off reason within the list of time off reasons.

148

ThisYearMinutes

Int32

No

The time off minutes from the current year

0

Usage Example(s)

 

<a:PwsTimeOffSummary> <TimeOffReasonId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/> <TimeOffReasonName xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">Vacation</TimeOffReasonName> <TimeOffReasonUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504606858293</TimeOffReasonUid> <a:LastYearMinutes>4320</a:LastYearMinutes> <a:SortOrder>148</a:SortOrder> <a:ThisYearMinutes>0</a:ThisYearMinutes> </a:PwsTimeOffSummary>

Related content