Overview
This web service inserts or updates a single user based on a detailed user structure (PwsUserDetail). The service returns the identity (PwsUserRef) of the user that has been inserted or updated. The caller can optionally request that the full user detail (PwsUserElement) be included in the response.
Request Format
PwsGetResourcePto Request
- PwsGetResourcePto
- serviceRequest: PwsGetResourcePtoRq
- RequestId: Int32
- SessionTicket: String
- CutoffDate: DateTime
- IncludePastRequestedTimeOffFlag: Boolean
- ResourceIdentity: PwsResourceRef
- serviceRequest: PwsGetResourcePtoRq
Request Elements
Element | Data Type | Required? | Default | Description |
---|---|---|---|---|
Int32 | ||||
String | ||||
CutoffDate | DateTime | |||
IncludePastRequestedTimeOffFlag | Boolean | |||
ResourceIdentity |
Request Usage Example(s)
Response Format
PwsGetResourcePto Response
- PwsGetResourcePtoResponse
- PwsGetResourcePtoResult: PwsGetResourcePtoRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- CutoffDate: DateTime
- HistoricalReportedTimeOffs: PwsHistoricalReportedTimeOff[]
- ScheduledHolidaysFuture: PwsHolidayPto[]
- ScheduledTimeOffFuture: PwsScheduledTimeOffPto[]
- ScheduledTimeOffPast: PwsScheduledTimeOff[]
- SchedulingGranularityMinutes: Int32
- TimeOffReasons: PwsTimeOffReasonPto[]
- PwsGetResourcePtoResult: PwsGetResourcePtoRs
Response Elements
Element | Data Type | Required? | Default | Description |
---|---|---|---|---|
Messages | ||||
Int32 | ||||
RequestStatus | ||||
DateTime | ||||
CutoffDate | DateTime | |||
HistoricalReportedTimeOffs | ||||
ScheduledHolidaysFuture | ||||
ScheduledTimeOffFuture | ||||
ScheduledTimeOffPast | ||||
SchedulingGranularityMinutes | Int32 | |||
TimeOffReasons |
Response Usage Example(s)
PwsSaveUser - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|