PwsDismissTimeAlerts
Overview
This service is used to suppress one or more time alerts. Currently, only missing time alerts may be suppressed. Once suppressed, the alert will no longer appear in the alerts on the time entry page. However, suppressing the alert will not prevent it from triggering or being included in a missing time email.
Request Format
- PwsDismissTimeAlerts
- serviceRequest: PwsDismissTimeAlertsRq
- RequestId: Int32
- SessionTicket: String
- DraftTimeAlertDates: DateTime[]
- MissingTimeAlertDates: DateTime[]
- RejectedTimeAlertDates: DateTime[]
- ResourceIdentity: PwsResourceRef
- serviceRequest: PwsDismissTimeAlertsRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 |
SessionTicket | String | Yes | Click here for more information. | ARgBFuS/0LDcPCTXeih6XQ== |
DraftTimeAlertDates | DateTime[] | No | Draft time alert date to be suppressed | |
MissingTimeAlertDates | DateTime[] | Yes - at this time, this is the only type of time alert that can be dismissed | Missing time alert date to be suppressed | 2018-03-05T00:00:00.000Z |
RejectedTimeAlertDates | DateTime[] | No | Rejected time alert date to be suppressed | |
ResourceIdentity | No | Identity of resource, if dismissing time alerts on behalf of another resource |
Request Usage Example(s)
Response Format
- PwsDismissTimeAlertsResponse
- PwsDismissTimeAlertsResult: PwsDismissTimeAlertsRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- PwsDismissTimeAlertsResult: PwsDismissTimeAlertsRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information | 1 |
Status | Click here for more information | Ok | |
ServerTimestampUtc | DateTime | Click here for more information | 2018-03-12T18:32:45.0410988Z |
Response Usage Element(s)
PwsDismissTimeAlerts - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
20005 | DraftOrRejectedTimeAlertsCannotBeDismissed | Draft or rejected time alerts currently may not be dismissed. |
64171 | UnexpectedErrorDismissingTimeAlert | There was an unexpected error while trying to dismiss a time alert. |