Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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

Request Elements

Element

Data Type

Required?

Default

Description

RequestId

Int32




SessionTicket

String




CutoffDate

DateTime




IncludePastRequestedTimeOffFlag

Boolean




ResourceIdentity

PwsResourceRef




Request Usage Example(s)


Response Format

PwsGetResourcePto Response

Response Elements

Element

Data Type

Description

Messages

PwsMessage[]


ResponseId

Int32


Status

RequestStatus


ServerTimestampUtc

DateTime


CutoffDate

DateTime


HistoricalReportedTimeOffs

PwsHistoricalReportedTimeOff[]


ScheduledHolidaysFuture

PwsHolidayPto[]


ScheduledTimeOffFuture

PwsScheduledTimeOffPto[]


ScheduledTimeOffPast

PwsScheduledTimeOff[]


SchedulingGranularityMinutes

Int32


TimeOffReasons

PwsTimeOffReasonPto[]


Response Usage Example(s)


Example 01
                  </b:PwsCostCenterPermissionSettingElement>

PwsSaveUser - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText

50024EntityNotFoundResource was not found. Another user may have deleted it.
  • No labels