Versions Compared

Key

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

...

This structure represents the unique key fields associated with identifying a time off reason. When logging time off, a time off reason (i.e. Vacation) is required. When specifying a time off reason reference as input for a web service, you may specify either or both of TimeOffReasonName and TimeOffReasonUid. If you specify both, they both must refer to the same time off reason, or the reference will not be considered valid.When this structure is returned in the results of a web service, both fields will be populated and guaranteed to refer to the same time off reason.

Format


Panel
titlePwsTimeOffReasonRef
  • PwsTimeOffReasonRef
    • TimeOffReasonId: Int32
    • TimeOffReasonName: String (50)
    • TimeOffReasonUid: Int64

Elements


Element

Data Type

Required?

Description

Sample Data

TimeOffReasonId

Int32

No

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

 


TimeOffReasonName

String (50)

One of TimeOffReasonName or TimeOffReasonUid is required 

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

Vacation

TimeOffReasonUid

Int64

See TimeOffReasonName 

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

1152921504606858293

Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
            <req:TimeOffReasonIdentity>
               <com:TimeOffReasonName>Vacation</com:TimeOffReasonName>
               <com:TimeOffReasonUid>1152921504606858293</com:TimeOffReasonUid>
            </req:TimeOffReasonIdentity>