Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This web service inserts or updates a single resource based on a detailed user resource structure (PwsResourceDetail). The service returns the identity (PwsResourceRef) of the resource that has been inserted or updated. The caller can optionally request that the full resource detail (PwsResourceElement) be included in the response.

...

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.

AeKkhtiAVtOJRHdW+Dy08Q==
AllowDuplicateInitialsFlagBooleanNofalseIf set to 'true', the service will allow the resource to be added even if another resource with the same initials already exists in the installation.
true

ExpenseApprovalUserIdentityClearFlag

Boolean

No

false

The user identity of this If set to 'true', the resource's expense approverapproval user will be cleared.

false

ExpenseEntryDelegateUserIdentityClearFlag

Boolean

No

false

The identity of this If set to 'true', the resource's delegated user for expense entry delegate user will be cleared.

false

ExpenseReportVendorIdentityClearFlag

Boolean

No

false

If specified, this set to 'true', the resource's expense reports report vendor will be directly paid to this vendorcleared.

false

FullDetailFlag

Boolean

No

false

If set to 'true', include full detailed resource element in response.

true

ManagerUserIdentityClearFlag

Boolean

No

false

The user identity of this If set to 'true', the resource's manager user will be cleared.

false

PurgeFutureResourceHistoryFlag

Boolean

No

false

This flag is meaningful only when the resource cannot be deleted. If set to 'true', this will cause future history to be purged as well as setting the resource inactive as of the day after the updating the current history record or inserting a new history record as of a specified date. If not set, the request will fail in the presence of existing resource history records after the specified date (with the exception of a history record that only has the effect of terminate the resource at a later date, in which case, the date is moved up).

false

RdcExceptionClearFlag

Boolean

No

false

If set to 'true' any resource direct cost exceptions associated with this resource will be removed.

false

RequestedTimeOffApprovalUserIdentityClearFlag

Boolean

No

false

The identity of this If set to 'true', the resource's time off approverapproval user will be cleared.

false

ResetCalendarAuthenticationTokenFlag

Boolean

No

false

If set to 'true', this resource's calendar authentication token for the Outlook Calendar integration will be cleared.

false

Resource

PwsResourceDetail

Yes


This structure contains the complete set of information about a resource.


ResourceTimestamp

String

No


This is a Base64 encoded timestamp optionally utilized for resource locking.


SkillApprovalUserIdentityClearFlag

Boolean

No

false

The user identity of this If set to 'true', the resource's skill approverapproval user will be cleared.

false

SubcontractorInvoiceVendorIdentityClearFlag

Boolean

No

false

If set to 'true', this resource's subcontractor invoice vendor identity will be set to nullcleared.

false

TimeAndCostGlccOverrideClearFlag

Boolean

No

false

If set to 'true', any overrides to this resource's time and cost general ledger cost center will be reset to the default.

false

TimeEntryDelegateUserIdentityClearFlag

Boolean

No

false

The identity of this If set to 'true', the resource's delegated user for time entry delegate user will be cleared.

false

TimecardApprovalUserIdentityClearFlag

Boolean

No

false

The identity of this If set to 'true', the resource's time card approverapproval user will be cleared.

false

WorkingScheduleOverrideClearFlag

Boolean

No

false

If set to 'true', any overrides to this resource's working schedule will be reset to the default (determined by the resource's location).

false


Request Usage Example(s)

...

Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

The web service response status and message. Click here for more information.


ResponseId

Int32

Click here for more information.

1

Status

RequestStatus

Click here for more information.

Ok

ServerTimestampUtc

DateTime

Click here for more information.

2018-11-01T21:29:48.4465623Z

Resource

PwsResourceElement

This structure contains a resource detail structure (PwsResourceDetail). It is also where additional related information about the resource, that is not directly an attribute of the resource itself would be found. As of this time, there is no additional information returned about resourcesThis will be specified only when FullDetailFlag is set to 'true'.


ResourceIdentity

PwsResourceRef

This structure represents the unique key fields associated with identifying a resource.


Timestamp

String

This is a Base64 encoded timestamp optionally utilized for resource locking.

AAAAABCpAFc=

...