Overview
This web service inserts or updates replaces the entire resource history for a single resource's history record (PwsResourceHistor) for a . A new set of history records (PwsResourceHistory) for the specified resource (PwsResourceRef) are supplied. The service returns the identity of the resource (PwsResourceRef) that has been updated.
...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information. | 1 | ||
String | Yes | Click here for more information. | AaJ0FpWv/5xR3lRe/9G87g== | ||
History | Yes | The resource history recordhistory records. All existing history will be replaced by the history supplied here. | |||
ResourceIdentity | Yes | The resource identity. | |||
ResourceTimestamp | String | No | This is a Base64 encoded timestamp optionally utilized for resource locking. | ||
SetNullValuesFromResourceTypeFlag | Boolean | No | false | If set to 'true', resource attributes that are currently set to null will take on the values associated with the assigned resource type. | false |
Request Usage Example(s)
...
Panel | ||
---|---|---|
| ||
|
...
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
Int32 | Click here for more information. | 1 | |
Status | Click here for more information. | Ok | |
DateTime | Click here for more information. | 2018-11-06T20:19:31.089834Z | |
History | PwsResourceHistory[1..100]This structure contains a resource's history record] | The new set of history records for the resource. | |
ResourceIdentity | 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. | AAAAABCzH0w= |
...
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
50024 | EntityNotFound | Error 50024, State 3: Entity not found ### [refStructureName:PwsResourceRef] |
50218 | DateGapFoundInXml | Error 50218, State 1: Date interval gap found in input XML (entity type = PwsResourceHistory, gap date = 1-Dec-2018) |
10104 | InternalError | Error 61121, State 1: Subcontractor invoice vendor may only be specified if pay category is hourly (H) |