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 Current »

Overview


This structure represents the fields associated with the history of a time off time card

Format


PwsTimeOffHistory
  • PwsTimeOffHistory
    • AdjustmentType: String
    • ApprovalWorkflowStatus: String
    • Date: DateTime
    • RejectedReason: String
    • TimeOffMinutes: Int32
    • TimeOffReasonIdentity: PwsTimeOffReasonRef
    • TransactionTimestamp: DateTime
    • TransactionUser: PwsUserSummary

Elements


Element

Data Type

Description

Sample Data

AdjustmentType

String

The time off time card adjustment type:

'SU' for Unsubmitted

'SS' for Submitted

'SR' for Rejected

'SP' for Unapproved

'SA' for Approved

SS


ApprovalWorkflowStatus

String

The time off time card's current approval workflow status:

'D' for Draft

'S' for Submitted

'R' for Rejected

'A' for Approved

S

Date

DateTime

The date and time associated with the time off time card (in UTC format)

2018-03-06T00:00:00Z 

RejectedReason

String

The reject reason associated with the time off time card

Note: This is only applicable if the  AdjustmentType = 'R'

 

TimeOffMinutes

Int32

The number of time off minutes associated with the time off time card

480

TimeOffReasonIdentity

PwsTimeOffReasonRef

The time off reason

 

TransactionTimestamp

DateTime

The transaction date and time associated with the time off time card adjustment (in UTC format)

2018-03-07T20:33:16.677Z 

TransactionUser

PwsUserSummary

The identity of the user who performed the transaction

 

Usage Example(s)


Example 01
               <a:PwsTimeOffHistory>
                  <a:AdjustmentType>SS</a:AdjustmentType>
                  <a:ApprovalWorkflowStatus>S</a:ApprovalWorkflowStatus>
                  <a:Date>2018-03-06T00:00:00Z</a:Date>
                  <a:RejectedReason i:nil="true"/>
                  <a:TimeOffMinutes>480</a:TimeOffMinutes>
                  <a:TimeOffReasonIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:TimeOffReasonId i:nil="true"/>
                     <b:TimeOffReasonName>Vacation</b:TimeOffReasonName>
                     <b:TimeOffReasonUid>1152921504606858293</b:TimeOffReasonUid>
                  </a:TimeOffReasonIdentity>
                  <a:TransactionTimestamp>2018-03-07T20:33:16.677Z</a:TransactionTimestamp>
                  <a:TransactionUser xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
                     <b:UserDisplayName>Jack Spratt</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>E123</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607112369</b:UserUid>
                     <b:EmailAddress>jack@revcorp.bb</b:EmailAddress>
                     <b:FirstName>Jack</b:FirstName>
                     <b:LastName>Spratt</b:LastName>
                     <b:MiddleName i:nil="true"/>
                  </a:TransactionUser>
               </a:PwsTimeOffHistory>
  • No labels