...
Element | Data Type | Required? | Default | Description | Sample Data |
---|---|---|---|---|---|
Int32 | No | Click here for more information | |||
String | Yes | Click here for more information | |||
ExpenseApprovalUserIdentityClearFlag | Boolean | No | false | The user identity of this resource's expense approver | |
ExpenseEntryDelegateUserIdentityClearFlag | Boolean | No | false | The identity of this resource's expense entry delegated user | |
ExpenseReportVendorIdentityClearFlag | Boolean | No | false | If specified, this resource's expense reports will be directly paid to this vendor | |
FullDetailFlag | Boolean | No | false | If set to true, include full detailed resource element in response | |
ManagerUserIdentityClearFlag | Boolean | No | false | The user identity of this resource's manager | |
PurgeFutureResourceHistoryFlag | Boolean | No | false | ||
RdcExceptionClearFlag | Boolean | No | false | ||
RequestedTimeOffApprovalUserIdentityClearFlag | Boolean | No | false | ||
ResetCalendarAuthenticationTokenFlag | Boolean | No | false | If set to true, this resource's calendar authentication token for the Outlook Calendar integration will be cleared. | |
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 | ||
SkillApprovalUserIdentityClearFlag | Boolean | No | false | ||
SubcontractorInvoiceVendorIdentityClearFlag | Boolean | No | false | ||
TimeAndCostGlccOverrideClearFlag | Boolean | No | false | ||
TimeEntryDelegateUserIdentityClearFlag | Boolean | No | false | ||
TimecardApprovalUserIdentityClearFlag | Boolean | No | false | ||
WorkingScheduleOverrideClearFlag | Boolean | No | 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:PwsSaveResource> <pws:serviceRequest> <req:RequestId>1</req:RequestId> <req:SessionTicket>AeKkhtiAVtOJRHdW+Dy08Q==</req:SessionTicket> <req:AllowDuplicateInitialsFlag>true</req:AllowDuplicateInitialsFlag> <req:ExpenseApprovalUserClearFlag>false</req:ExpenseApprovalUserClearFlag> <req:ExpenseEntryDelegateUserClearFlag>false</req:ExpenseEntryDelegateUserClearFlag> <req:ExpenseReportVendorClearFlag>false</req:ExpenseReportVendorClearFlag> <req:FullDetailFlag>true</req:FullDetailFlag> <req:ManagerUserClearFlag>false</req:ManagerUserClearFlag> <req:PurgeFutureResourceHistoryFlag>false</req:PurgeFutureResourceHistoryFlag> <req:RdcExceptionClearFlag>false</req:RdcExceptionClearFlag> <req:RequestedTimeOffApprovalUserClearFlag>false</req:RequestedTimeOffApprovalUserClearFlag> <req:ResetCalendarAuthenticationTokenFlag>false</req:ResetCalendarAuthenticationTokenFlag> <req:Resource> <com:ResourceDisplayName>Michael Smith</com:ResourceDisplayName> <com:ResourceReferenceSystemId>WS-1101A</com:ResourceReferenceSystemId> <com:EmailAddress>msmith@revcorp.bb</com:EmailAddress> <com:FirstName>Michael</com:FirstName> <com:LastName>Smith</com:LastName> <com:ExpenseApprovalUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:ExpenseApprovalUserIdentity> <com:ExpenseEntryDelegateUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:ExpenseEntryDelegateUserIdentity> <com:Initials>MS</com:Initials> <com:LatestHistoryRecord> <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>S</com:PayCategory> <com:ResourceTypeIdentity> <com:ResourceTypeCode>FTE</com:ResourceTypeCode> <com:ResourceTypeName>Full Time Employee</com:ResourceTypeName> </com:ResourceTypeIdentity> <com:ScheduledHolidaysFlag>true</com:ScheduledHolidaysFlag> <com:TemporaryWorkerFlag>false</com:TemporaryWorkerFlag> <com:TitleIdentity> <com:DepartmentIdentity> <com:DepartmentName>IT Team</com:DepartmentName> </com:DepartmentIdentity> <com:TitleName>Level 1</com:TitleName> </com:TitleIdentity> <com:TrackMissingTimeFlag>true</com:TrackMissingTimeFlag> <com:WorkingScheduleOverrides> <com:PwsResourceWorkingScheduleDay> <com:DayOfWeek>Monday</com:DayOfWeek> <com:StartTimeMinutesSinceMidnight>480</com:StartTimeMinutesSinceMidnight> <com:WorkingMinutes>480</com:WorkingMinutes> </com:PwsResourceWorkingScheduleDay> <com:PwsResourceWorkingScheduleDay> <com:DayOfWeek>Tuesday</com:DayOfWeek> <com:StartTimeMinutesSinceMidnight>480</com:StartTimeMinutesSinceMidnight> <com:WorkingMinutes>480</com:WorkingMinutes> </com:PwsResourceWorkingScheduleDay> <com:PwsResourceWorkingScheduleDay> <com:DayOfWeek>Wednesday</com:DayOfWeek> <com:StartTimeMinutesSinceMidnight>480</com:StartTimeMinutesSinceMidnight> <com:WorkingMinutes>480</com:WorkingMinutes> </com:PwsResourceWorkingScheduleDay> <com:PwsResourceWorkingScheduleDay> <com:DayOfWeek>Thursday</com:DayOfWeek> <com:StartTimeMinutesSinceMidnight>480</com:StartTimeMinutesSinceMidnight> <com:WorkingMinutes>480</com:WorkingMinutes> </com:PwsResourceWorkingScheduleDay> <com:PwsResourceWorkingScheduleDay> <com:DayOfWeek>Friday</com:DayOfWeek> <com:StartTimeMinutesSinceMidnight>480</com:StartTimeMinutesSinceMidnight> <com:WorkingMinutes>480</com:WorkingMinutes> </com:PwsResourceWorkingScheduleDay> </com:WorkingScheduleOverrides> </com:LatestHistoryRecord> <com:LatestHistoryRecordBeginDate>2018-10-26T00:00:00.000Z</com:LatestHistoryRecordBeginDate> <com:ManagerUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:ManagerUserIdentity> <com:RequestedTimeOffApprovalUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:RequestedTimeOffApprovalUserIdentity> <com:SkillApprovalUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:SkillApprovalUserIdentity> <com:TimeEntryDelegateUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:TimeEntryDelegateUserIdentity> <com:TimecardApprovalFlag>true</com:TimecardApprovalFlag> <com:TimecardApprovalUserIdentity> <com:UserReferenceSystemId>WS01</com:UserReferenceSystemId> </com:TimecardApprovalUserIdentity> <com:UserDefinedFields> <com:PwsUserDefinedFieldDetail> <com:UdfName>RS-Date</com:UdfName> <com:DataType>D</com:DataType> <com:DateValue>2018-10-26T00:00:00.000Z</com:DateValue> </com:PwsUserDefinedFieldDetail> <com:PwsUserDefinedFieldDetail> <com:UdfName>RS-Text</com:UdfName> <com:DataType>T</com:DataType> <com:TextValue>New Resource</com:TextValue> </com:PwsUserDefinedFieldDetail> </com:UserDefinedFields> <com:UserIdentity> <com:UserDisplayName>Michael Smith</com:UserDisplayName> <com:UserReferenceSystemId>WS-1101A</com:UserReferenceSystemId> </com:UserIdentity> <com:VendorReferenceSystemId>WS-1101A</com:VendorReferenceSystemId> </req:Resource> <req:SkillApprovalUserClearFlag>false</req:SkillApprovalUserClearFlag> <req:SubcontractorInvoiceVendorClearFlag>false</req:SubcontractorInvoiceVendorClearFlag> <req:TimeAndCostGlccOverrideClearFlag>false</req:TimeAndCostGlccOverrideClearFlag> <req:TimeEntryDelegateUserClearFlag>false</req:TimeEntryDelegateUserClearFlag> <req:TimecardApprovalUserClearFlag>false</req:TimecardApprovalUserClearFlag> <req:WorkingScheduleOverrideClearFlag>false</req:WorkingScheduleOverrideClearFlag> </pws:serviceRequest> </pws:PwsSaveResource> </soapenv:Body> </soapenv:Envelope> |
...