Overview
This web service inserts or updates time off records given a resource and time off reason (PwsResourceAvailableTimeOffDetail). The service returns the results of the insert or update (PwsSaveResourceAvailableTimeOffResult).
Request Format
PwsSaveResourceAvailableTimeOff Request
- PwsSaveResourceAvailableTimeOff
- serviceRequest: PwsSaveResourceAvailableTimeOffRq
- RequestId: Int32
- SessionTicket: String
- AbortOnFailureFlag: Boolean
- AvailableTimeOffDetail: PwsResourceAvailableTimeOffDetail [???]
- serviceRequest: PwsSaveResourceAvailableTimeOffRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
RequestId | Int32 | No | Click here for more information. | 1 | |
SessionTicket | String | Yes | Click here for more information. | AV7pfLYHuvIjk5rCwGgoiQ== | |
AbortOnFailureFlag | Boolean | No | false | If set to 'true', the request will be aborted once the service encounters a record it cannot process. If set to 'false', it will process all the records that can be process and, fails the ones it cannot. | false |
AvailableTimeOffDetail | false | The detailed resource available time off information to be inserted or updated |
Request Usage Example(s)
Response Format
PwsSaveResourceAvailableTimeOff Response
- PwsSaveResourceAvailableTimeOffResponse
- PwsSaveResourceAvailableTimeOffResult: PwsSaveResourceAvailableTimeOffRs
- Messages: PwsMessage
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- Results: PwsSaveResourceAvailableTimeOffResult[]
- PwsSaveResourceAvailableTimeOffResult: PwsSaveResourceAvailableTimeOffRs