...
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 record | |||
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)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/"> <soapenv:Header/> <soapenv:Body> <pws:PwsSaveResourceHistory> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AaJ0FpWv/5xR3lRe/9G87g==</req:SessionTicket> <req:History> <com:PwsResourceHistory> <com:BeginDate>2018-11-01T00:00:00.000Z</com:BeginDate> <com:Record> <com:ActualHolidaysFlag>true</com:ActualHolidaysFlag> <com:AllowApproveOwnTimecardsFlag>true</com:AllowApproveOwnTimecardsFlag> <com:BillableFlag>true</com:BillableFlag> <com:CostCenterIdentity> <com:CostCenterName>IT Team (USA)</com:CostCenterName> <com:CostCenterNumber>IT Team (USA)</com:CostCenterNumber> </com:CostCenterIdentity> <com:ExpenseReportVendorIdentity> <com:VendorName>Credit Card</com:VendorName> <com:VendorNumber>Credit Card</com:VendorNumber> </com:ExpenseReportVendorIdentity> <com:InactiveFlag>false</com:InactiveFlag> <com:LocationIdentity> <com:LocationName>USA</com:LocationName> </com:LocationIdentity> <com:MissingTimeEmailFlag>true</com:MissingTimeEmailFlag> <com:PayCategory>O</com:PayCategory> <com:RdcException> <com:CurrencyIdentity> <com:CurrencyCode>USD</com:CurrencyCode> </com:CurrencyIdentity> <com:HourlyRate>55.15</com:HourlyRate> </com:RdcException> <com:ResourceTypeIdentity> <com:ResourceTypeCode>FTE</com:ResourceTypeCode> <com:ResourceTypeName>Full Time Employee</com:ResourceTypeName> </com:ResourceTypeIdentity> <com:ScheduledHolidaysFlag>false</com:ScheduledHolidaysFlag> <com:TemporaryWorkerFlag>false</com:TemporaryWorkerFlag> <com:TitleIdentity> <com:DepartmentIdentity> <com:DepartmentName>IT Team</com:DepartmentName> </com:DepartmentIdentity> <com:TitleName>Level 2</com:TitleName> </com:TitleIdentity> <com:TrackMissingTimeFlag>true</com:TrackMissingTimeFlag> <com:WorkingScheduleOverrides> <com:PwsResourceWorkingScheduleDay> <com:DayOfWeek>Friday</com:DayOfWeek> <com:StartTimeMinutesSinceMidnight>540</com:StartTimeMinutesSinceMidnight> <com:WorkingMinutes>240</com:WorkingMinutes> </com:PwsResourceWorkingScheduleDay> </com:WorkingScheduleOverrides> </com:Record> </com:PwsResourceHistory> </req:History> <req:ResourceIdentity> <com:ResourceDisplayName>Ben Smith</com:ResourceDisplayName> <com:ResourceReferenceSystemId>E1101</com:ResourceReferenceSystemId> </req:ResourceIdentity> <req:SetNullValuesFromResourceTypeFlag>false</req:SetNullValuesFromResourceTypeFlag> </pws:serviceRequest> </pws:PwsSaveResourceHistory> </soapenv:Body> </soapenv:Envelope> |
...