Overview
This web service deletes a specified resource's (PwsResourceRef) available time off hours for a specific time off reason ( PwsTimeOffReasonRef).
Request Format
PwsDeleteResourceAvailableTimeOff Request
- PwsDeleteResourceAvailableTimeOff
- serviceRequest: PwsDeleteResourceAvailableTimeOffRq
- RequestId: Int32
- SessionTicket: String
- EndDate: DateTime
- ResourceIdentity: PwsResourceRef
- StartDate: DateTime
- TimeOffReasonIdentity: PwsTimeOffReasonRef
- serviceRequest: PwsDeleteResourceAvailableTimeOffRq
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. | AUL1Tsqbhar4SWXC5j9T+w== |
EndDate | DateTime | No | The EndDate and the StartDate defines the period in which the time off hours should be deleted, leaving either field null will result in all available time off hours to be deleted | 2018-01-31T00:00:00.000Z |
ResourceIdentity | Yes | The resource identity | ||
StartDate | DateTime | No | See EndDate | 2018-01-01T00:00:00.000Z |
TimeOffReasonIdentity | Yes | The time off reason identity |
Request Usage Example(s)
Response Format
PwsDeleteResourceAvailableTimeOff Response
- PwsDeleteResourceAvailableTimeOffResponse
- PwsDeleteResourceAvailableTimeOffResult: PwsDeleteResourceAvailableTimeOffRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- PwsDeleteResourceAvailableTimeOffResult: PwsDeleteResourceAvailableTimeOffRs