Versions Compared

Key

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

Overview


Info

This web service cannot append history. It replaces the entire resource history for a single resource.

...

If you want to add a new history row, use PwsGetResource and retrieve all current history. Copy that data structure, append an additional history row, and resubmit using this web service.

The service returns the identity of the resource (PwsResourceRef) that has been updated. 


Request Format


Panel
titlePwsSaveResourceHistory Request

...

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.

AaJ0FpWv/5xR3lRe/9G87g==

History

PwsResourceHistory[]

Yes


The resource history records. All existing history will be replaced by the history supplied here.


ResourceIdentity

PwsResourceRef

Yes 


The resource identity.


ResourceTimestamp

String

No 


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


SetNullValuesFromResourceTypeFlag

Boolean

No 

falseIf set to 'true', resource attributes that are currently set to null will take on the values associated with the

assigned resource type.This is used to determine whether or not to apply resource type defaults on creation of a history row as follows:

If "SetNullValuesFromResourceTypeFlag" = false, then the Resource Type Settings listed below will be set to the system defaults, unless otherwise specified:

- billableFlag = TRUE OR specified value

- temporaryWorkerFlag = FALSE OR specified value

- payCategory = S OR specified value

- trackMissingTimeFlag = TRUE OR specified value

- missingTimeEmailFlag = TRUE OR specified value

- allowApproveOwnTimecardsFlag = TRUE OR specified value

- actualHolidaysFlag = FALSE OR specified value

- scheduledHolidaysFlag = FALSE OR specified value

 

If "SetNullValuesFromResourceTypeFlag" = true, then the Resource Type Settings listed below will be set to the default values of the associated resource type, unless otherwise specified:

- billableFlag = resource type default OR specified value

- temporaryWorkerFlag = resource type default OR specified value

- payCategory = resource type default OR specified value

- trackMissingTimeFlag = resource type default OR specified value

- missingTimeEmailFlag = resource type default OR specified value

- allowApproveOwnTimecardsFlag = resource type default OR specified value

- actualHolidaysFlag = resource type default OR specified value

- scheduledHolidaysFlag = resource type default OR specified value

false

Request Usage Example(s)

...