PwsTimeOffCardDetail
Overview
This structure contains the complete set of information about a time off time card. The structure is used both to retrieve detailed time off time card information and to pass information about a time off time card back to the server to get updated.
Format
- PwsTimeOffCardDetail
- ReferenceId: String
- TimecardId: Int32
- TimecardType: String
- TimecardUid: Int64
- Description: String (1000)
- DescriptionClearFlag: Boolean
- RejectedByUser: PwsUserRef
- RejectedReason: String
- RejectedTimestamp: DateTime
- Status: TimeCardStatus (deprecated)
- WorkDate: DateTime
- WorkMinutes: Int32
- Timestamp: String
- CardStatus: String
- TimeOffReasonIdentity: PwsTimeOffReasonRef
Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
ReferenceId | String | No | Reference id (used to affiliate PwsSaveTimecardResult records with associated PwsTimeOffCardDetail records). | ||
TimecardId | Int32 | No | The time card Id is a unique identifier for a time card. For internal use only. | ||
TimecardType | String | No | The time card type: 'T' for time card associated with a project 'R' for reported time off This will always be 'R' for PwsTimeOffCardDetail records. | R | |
TimecardUid | Int64 | No | A unique and immutable identifier for a time card. | 1152921504608460883 | |
Description | String | No | The time off time card description. | ||
DescriptionClearFlag | Boolean | No | If set to 'true', the time off time card description will be cleared. Applies when saving time off cards. | false | |
RejectedByUser | N/A | The user who rejected the time off time card. Note: This is only applicable if the status = 'R' for rejected Ignored on save. | |||
RejectedReason | String | N/A | The reject reason associated with the time off time card. Note: This is only applicable if the status = 'R' for rejected Ignored on save. | ||
RejectedTimestamp | DateTime | N/A | The date and time when the time off time card was rejected. Note: This is only applicable if the status = 'R' for rejected Ignored on save. | ||
Status | TimeCardStatus | *** This field has been deprecated. | |||
WorkDate | DateTime | On Insert: Yes On Update: No | The work date associated with the time off time card (in UTC format). | 2018-03-06T00:00:00Z | |
WorkMinutes | Int32 | On Insert: Yes On Update: No | The work minutes associated with the time card. | 480 | |
Timestamp | String | No | This is a Base64 encoded timestamp optionally utilized for time card locking. | AAAAAA64Nlc= | |
CardStatus | String | N/A | The time card status 'D' for draft 'R' for rejected 'S' for submitted 'A' for approved 'B' for billed Ignored on save. | S | |
TimeOffReasonIdentity | On Insert: Yes On Update: No | The identity of the time off reason associated with the time off time card. |