PwsTimeAlert

Overview


This structure represents the fields associated with time alerts. Alerts are generated for weeks containing rejected or incomplete time cards, draft time cards and missing time. 

Format


PwsTimeAlert
  • PwsTimeAlert
    • AlertType: String
    • Minutes: Int32
    • PeriodStartDate: DateTime
    • CardCount: Int32

Elements


Element

Data Type

Description

Sample Data

AlertType

String

The alert type, valid values include:

"D" for draft

"M" for missing

"R" for rejected or incomplete

D

Minutes

Int32

The total number of draft, rejected or missing minutes for the period. Both reported time and reported time off are counted.

480 

PeriodStartDate

DateTime

The period start date associated with the alerts. Each record covers a week, starting on the first day of week as configured for the account.

2016-12-01T00:00:00Z 

CardCount

Int32

The total number of cards that fall within the same alert type and period.

3

Usage Example(s)


Example 01
                  <a:PwsTimeAlert>
                     <a:AlertType>D</a:AlertType>
                     <a:Minutes>480</a:Minutes>
                     <a:PeriodStartDate>2016-12-01T00:00:00Z</a:PeriodStartDate>
                     <a:CardCount>3</a:CardCount>
                  </a:PwsTimeAlert>