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 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.  To create a new resource, a user must exists to be associated this new resource. 

Request Format


PwsSaveResourceRq
Panel
titlePwsSaveResourceRq
PwsSaveResource Request
  • PwsSaveResource
    • serviceRequest: PwsSaveResource
      ExpenseApprovalUserIdentityClearFlag
      • ExpenseApprovalUserClearFlag: Boolean
      ExpenseEntryDelegateUserIdentityClearFlag
      • ExpenseEntryDelegateUserClearFlag: Boolean
      ExpenseReportVendorIdentityClearFlag
      • ExpenseReportVendorClearFlag: Boolean
      • FullDetailFlag: Boolean
      ManagerUserIdentityClearFlag
      • ManagerUserClearFlag: Boolean
      • PurgeFutureResourceHistoryFlag: Boolean
      • RdcExceptionClearFlag: Boolean
      RequestedTimeOffApprovalUserIdentityClearFlag
      • RequestedTimeOffApprovalUserClearFlag: Boolean
      • ResetCalendarAuthenticationTokenFlag: Boolean
      • Resource: PwsResourceDetail
      • ResourceTimestamp: String
      SkillApprovalUserIdentityClearFlag
      • SkillApprovalUserClearFlag: Boolean
      SubcontractorInvoiceVendorIdentityClearFlag
      • SubcontractorInvoiceVendorClearFlag: Boolean
      • TimeAndCostGlccOverrideClearFlag: Boolean
      TimeEntryDelegateUserIdentityClearFlag
      • TimeEntryDelegateUserClearFlag: Boolean
      TimecardApprovalUserIdentityClearFlag
      • TimecardApprovalUserClearFlag: Boolean
      • WorkingScheduleOverrideClearFlag: Boolean
      • SetNullValuesFromResourceTypeFlag: Boolean


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.

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

ExpenseApprovalUserIdentityClearFlagExpenseApprovalUserClearFlag

Boolean

No

false

If set to 'true', the resource's expense approval user will be cleared.

false

ExpenseEntryDelegateUserIdentityClearFlagExpenseEntryDelegateUserClearFlag

Boolean

No

false

If set to 'true', the resource's expense entry delegate user will be cleared.

false

ExpenseReportVendorIdentityClearFlagExpenseReportVendorClearFlag

Boolean

No

false

If set to 'true', the resource's expense report vendor will be cleared.

false

FullDetailFlag

Boolean

No

false

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

true

ManagerUserIdentityClearFlagManagerUserClearFlag

Boolean

No

false

If set to 'true', the resource's manager user will be cleared.

false

PurgeFutureResourceHistoryFlag

Boolean

No

false

If set to 'true', this will cause future history to be purged as well as 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.

false

RdcExceptionClearFlag

Boolean

No

false

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

false

RequestedTimeOffApprovalUserIdentityClearFlagRequestedTimeOffApprovalUserClearFlag

Boolean

No

false

If set to 'true', the resource's time off approval 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.


SkillApprovalUserIdentityClearFlagSkillApprovalUserClearFlag

Boolean

No

false

If set to 'true', the resource's skill approval user will be cleared.

false

SubcontractorInvoiceVendorIdentityClearFlag

Boolean

No

false

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

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

TimeEntryDelegateUserIdentityClearFlagTimeEntryDelegateUserClearFlag

Boolean

No

false

If set to 'true', the resource's time entry delegate user will be cleared.

false

TimecardApprovalUserIdentityClearFlagTimecardApprovalUserClearFlag

Boolean

No

false

If set to 'true', the resource's time approval 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
SetNullValuesFromResourceTypeFlagBooleanNofalseApplies to only updating resource, always inherit the defaults from ResourceType on insert and will continue to do so even if this flag is set to false. ; If set to 'true' and resource type parameters are not specified, this web service will reset the parameters using resource type default values.false

...