...
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
Panel | ||||
---|---|---|---|---|
| PwsSaveResourceRq
| |||
|
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | AeKkhtiAVtOJRHdW+Dy08Q== | ||
AllowDuplicateInitialsFlag | Boolean | No | false | If 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 | 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 |
SetNullValuesFromResourceTypeFlag | Boolean | No | false | Applies 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 |
...