Overview


This web service inserts or updates a single resource based on a detailed user 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.

Request Format


  • PwsSaveResource
    • serviceRequest: PwsSaveResourceRq
      • RequestId: Int32
      • SessionTicket: String
      • ExpenseApprovalUserIdentityClearFlag: Boolean
      • ExpenseEntryDelegateUserIdentityClearFlag: Boolean
      • ExpenseReportVendorIdentityClearFlag: Boolean
      • FullDetailFlag: Boolean
      • ManagerUserIdentityClearFlag: Boolean
      • PurgeFutureResourceHistoryFlag: Boolean
      • RdcExceptionClearFlag: Boolean
      • RequestedTimeOffApprovalUserIdentityClearFlag: Boolean
      • ResetCalendarAuthenticationTokenFlag: Boolean
      • Resource: PwsResourceDetail
      • ResourceTimestamp: String
      • SkillApprovalUserIdentityClearFlag: Boolean
      • SubcontractorInvoiceVendorIdentityClearFlag: Boolean
      • TimeAndCostGlccOverrideClearFlag: Boolean
      • TimeEntryDelegateUserIdentityClearFlag: Boolean
      • TimecardApprovalUserIdentityClearFlag: Boolean
      • WorkingScheduleOverrideClearFlag: Boolean

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestId

Int32





SessionTicket

String





ExpenseApprovalUserIdentityClearFlag

Boolean





ExpenseEntryDelegateUserIdentityClearFlag

Boolean





ExpenseReportVendorIdentityClearFlag

Boolean





FullDetailFlag

Boolean





ManagerUserIdentityClearFlag

Boolean





PurgeFutureResourceHistoryFlag

Boolean





RdcExceptionClearFlag

Boolean





RequestedTimeOffApprovalUserIdentityClearFlag

Boolean





ResetCalendarAuthenticationTokenFlag

Boolean





Resource

PwsResourceDetail





ResourceTimestamp

String





SkillApprovalUserIdentityClearFlag

Boolean





SubcontractorInvoiceVendorIdentityClearFlag

Boolean





TimeAndCostGlccOverrideClearFlag

Boolean





TimeEntryDelegateUserIdentityClearFlag

Boolean





TimecardApprovalUserIdentityClearFlag

Boolean





WorkingScheduleOverrideClearFlag

Boolean





Request Usage Example(s)


<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>

Response Format


Response Elements


Element

Data Type

Description

Sample Data

Messages

PwsMessage[]

The web service response status and message. Click here for more information


ResponseId

Int32

Click here for more information


Status

RequestStatus

Click here for more information


ServerTimestampUtc

DateTime

Click here for more information


Resource

PwsResourceElement

This structure contains a resource detail structure (PwsResourceDetail). It is also where additional related information about the resource, that is not directly an attribute of the resource itself would be found. As of this time, there is no additional information returned about resources.


ResourceIdentity

PwsResourceRef

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.


Response Usage Example(s)


	<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <PwsSaveResourceResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
         <PwsSaveResourceResult xmlns:a="http://projectorpsa.com/DataContracts/Responses/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
            <ResponseId xmlns="http://projectorpsa.com/CommonServices/">1</ResponseId>
            <Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
            <ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-11-01T21:29:48.4465623Z</ServerTimestampUtc>
            <a:Resource xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ActiveHistoryIndex>0</b:ActiveHistoryIndex>
               <b:History>
                  <b:PwsResourceHistory>
                     <b:BeginDate>2018-10-26T00:00:00Z</b:BeginDate>
                     <b:EndDate i:nil="true"/>
                     <b:Record>
                        <b:ActualHolidaysFlag>true</b:ActualHolidaysFlag>
                        <b:AllowApproveOwnTimecardsFlag>true</b:AllowApproveOwnTimecardsFlag>
                        <b:BillableFlag>true</b:BillableFlag>
                        <b:CostCenterIdentity>
                           <b:CostCenterId i:nil="true"/>
                           <b:CostCenterName>IT Team (USA)</b:CostCenterName>
                           <b:CostCenterNumber>IT Team (USA)</b:CostCenterNumber>
                           <b:CostCenterUid>1152921504606867365</b:CostCenterUid>
                        </b:CostCenterIdentity>
                        <b:ExpenseReportVendorIdentity>
                           <b:VendorId i:nil="true"/>
                           <b:VendorName>Credit Card</b:VendorName>
                           <b:VendorUid>1152921504606942269</b:VendorUid>
                           <b:VendorNumber>Credit Card</b:VendorNumber>
                        </b:ExpenseReportVendorIdentity>
                        <b:InactiveFlag>false</b:InactiveFlag>
                        <b:LocationIdentity>
                           <b:LocationId i:nil="true"/>
                           <b:LocationName>USA</b:LocationName>
                           <b:LocationUid>1152921504606855985</b:LocationUid>
                        </b:LocationIdentity>
                        <b:MissingTimeEmailFlag>true</b:MissingTimeEmailFlag>
                        <b:PayCategory>S</b:PayCategory>
                        <b:RdcException i:nil="true"/>
                        <b:ResourceTypeIdentity>
                           <b:ResourceTypeCode>FTE</b:ResourceTypeCode>
                           <b:ResourceTypeId i:nil="true"/>
                           <b:ResourceTypeName>Full Time Employee</b:ResourceTypeName>
                           <b:ResourceTypeUid>1152921504606847348</b:ResourceTypeUid>
                        </b:ResourceTypeIdentity>
                        <b:ScheduledHolidaysFlag>true</b:ScheduledHolidaysFlag>
                        <b:SubcontractorInvoiceVendorIdentity i:nil="true"/>
                        <b:TemporaryWorkerFlag>false</b:TemporaryWorkerFlag>
                        <b:TimeAndCostGlccOverride i:nil="true"/>
                        <b:TitleIdentity>
                           <b:DepartmentIdentity>
                              <b:DepartmentId i:nil="true"/>
                              <b:DepartmentName>IT Team</b:DepartmentName>
                              <b:DepartmentUid>1152921504606854184</b:DepartmentUid>
                           </b:DepartmentIdentity>
                           <b:TitleId i:nil="true"/>
                           <b:TitleName>Level 1</b:TitleName>
                           <b:TitleUid>1152921504606875474</b:TitleUid>
                        </b:TitleIdentity>
                        <b:TrackMissingTimeFlag>true</b:TrackMissingTimeFlag>
                        <b:WorkingScheduleOverrides>
                           <b:PwsResourceWorkingScheduleDay>
                              <b:DayOfWeek>Monday</b:DayOfWeek>
                              <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                              <b:WorkingMinutes>480</b:WorkingMinutes>
                           </b:PwsResourceWorkingScheduleDay>
                           <b:PwsResourceWorkingScheduleDay>
                              <b:DayOfWeek>Tuesday</b:DayOfWeek>
                              <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                              <b:WorkingMinutes>480</b:WorkingMinutes>
                           </b:PwsResourceWorkingScheduleDay>
                           <b:PwsResourceWorkingScheduleDay>
                              <b:DayOfWeek>Wednesday</b:DayOfWeek>
                              <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                              <b:WorkingMinutes>480</b:WorkingMinutes>
                           </b:PwsResourceWorkingScheduleDay>
                           <b:PwsResourceWorkingScheduleDay>
                              <b:DayOfWeek>Thursday</b:DayOfWeek>
                              <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                              <b:WorkingMinutes>480</b:WorkingMinutes>
                           </b:PwsResourceWorkingScheduleDay>
                           <b:PwsResourceWorkingScheduleDay>
                              <b:DayOfWeek>Friday</b:DayOfWeek>
                              <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                              <b:WorkingMinutes>480</b:WorkingMinutes>
                           </b:PwsResourceWorkingScheduleDay>
                        </b:WorkingScheduleOverrides>
                     </b:Record>
                  </b:PwsResourceHistory>
               </b:History>
               <b:LastUpdatedByUser>
                  <b:UserDisplayName>Web Services</b:UserDisplayName>
                  <b:UserId i:nil="true"/>
                  <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                  <b:UserUid>1152921504607067736</b:UserUid>
                  <b:EmailAddress>webservices@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Web</b:FirstName>
                  <b:LastName>Services</b:LastName>
                  <b:MiddleName i:nil="true"/>
               </b:LastUpdatedByUser>
               <b:LastUpdatedTimestamp>2018-11-01T21:29:41.28Z</b:LastUpdatedTimestamp>
               <b:ResourceDetail>
                  <b:ResourceDisplayName>Michael Smith</b:ResourceDisplayName>
                  <b:ResourceId i:nil="true"/>
                  <b:ResourceReferenceSystemId>WS-1101A</b:ResourceReferenceSystemId>
                  <b:ResourceUid>1152921504607133205</b:ResourceUid>
                  <b:EmailAddress>msmith@revcorp.bb</b:EmailAddress>
                  <b:FirstName>Michael</b:FirstName>
                  <b:LastName>Smith</b:LastName>
                  <b:MiddleName i:nil="true"/>
                  <b:InactiveFlag>false</b:InactiveFlag>
                  <b:ExpenseApprovalUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:ExpenseApprovalUserIdentity>
                  <b:ExpenseEntryDelegateUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:ExpenseEntryDelegateUserIdentity>
                  <b:Initials>MS</b:Initials>
                  <b:LatestHistoryRecord>
                     <b:ActualHolidaysFlag>true</b:ActualHolidaysFlag>
                     <b:AllowApproveOwnTimecardsFlag>true</b:AllowApproveOwnTimecardsFlag>
                     <b:BillableFlag>true</b:BillableFlag>
                     <b:CostCenterIdentity>
                        <b:CostCenterId i:nil="true"/>
                        <b:CostCenterName>IT Team (USA)</b:CostCenterName>
                        <b:CostCenterNumber>IT Team (USA)</b:CostCenterNumber>
                        <b:CostCenterUid>1152921504606867365</b:CostCenterUid>
                     </b:CostCenterIdentity>
                     <b:ExpenseReportVendorIdentity>
                        <b:VendorId i:nil="true"/>
                        <b:VendorName>Credit Card</b:VendorName>
                        <b:VendorUid>1152921504606942269</b:VendorUid>
                        <b:VendorNumber>Credit Card</b:VendorNumber>
                     </b:ExpenseReportVendorIdentity>
                     <b:InactiveFlag>false</b:InactiveFlag>
                     <b:LocationIdentity>
                        <b:LocationId i:nil="true"/>
                        <b:LocationName>USA</b:LocationName>
                        <b:LocationUid>1152921504606855985</b:LocationUid>
                     </b:LocationIdentity>
                     <b:MissingTimeEmailFlag>true</b:MissingTimeEmailFlag>
                     <b:PayCategory>S</b:PayCategory>
                     <b:RdcException i:nil="true"/>
                     <b:ResourceTypeIdentity>
                        <b:ResourceTypeCode>FTE</b:ResourceTypeCode>
                        <b:ResourceTypeId i:nil="true"/>
                        <b:ResourceTypeName>Full Time Employee</b:ResourceTypeName>
                        <b:ResourceTypeUid>1152921504606847348</b:ResourceTypeUid>
                     </b:ResourceTypeIdentity>
                     <b:ScheduledHolidaysFlag>true</b:ScheduledHolidaysFlag>
                     <b:SubcontractorInvoiceVendorIdentity i:nil="true"/>
                     <b:TemporaryWorkerFlag>false</b:TemporaryWorkerFlag>
                     <b:TimeAndCostGlccOverride i:nil="true"/>
                     <b:TitleIdentity>
                        <b:DepartmentIdentity>
                           <b:DepartmentId i:nil="true"/>
                           <b:DepartmentName>IT Team</b:DepartmentName>
                           <b:DepartmentUid>1152921504606854184</b:DepartmentUid>
                        </b:DepartmentIdentity>
                        <b:TitleId i:nil="true"/>
                        <b:TitleName>Level 1</b:TitleName>
                        <b:TitleUid>1152921504606875474</b:TitleUid>
                     </b:TitleIdentity>
                     <b:TrackMissingTimeFlag>true</b:TrackMissingTimeFlag>
                     <b:WorkingScheduleOverrides>
                        <b:PwsResourceWorkingScheduleDay>
                           <b:DayOfWeek>Monday</b:DayOfWeek>
                           <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                           <b:WorkingMinutes>480</b:WorkingMinutes>
                        </b:PwsResourceWorkingScheduleDay>
                        <b:PwsResourceWorkingScheduleDay>
                           <b:DayOfWeek>Tuesday</b:DayOfWeek>
                           <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                           <b:WorkingMinutes>480</b:WorkingMinutes>
                        </b:PwsResourceWorkingScheduleDay>
                        <b:PwsResourceWorkingScheduleDay>
                           <b:DayOfWeek>Wednesday</b:DayOfWeek>
                           <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                           <b:WorkingMinutes>480</b:WorkingMinutes>
                        </b:PwsResourceWorkingScheduleDay>
                        <b:PwsResourceWorkingScheduleDay>
                           <b:DayOfWeek>Thursday</b:DayOfWeek>
                           <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                           <b:WorkingMinutes>480</b:WorkingMinutes>
                        </b:PwsResourceWorkingScheduleDay>
                        <b:PwsResourceWorkingScheduleDay>
                           <b:DayOfWeek>Friday</b:DayOfWeek>
                           <b:StartTimeMinutesSinceMidnight>480</b:StartTimeMinutesSinceMidnight>
                           <b:WorkingMinutes>480</b:WorkingMinutes>
                        </b:PwsResourceWorkingScheduleDay>
                     </b:WorkingScheduleOverrides>
                  </b:LatestHistoryRecord>
                  <b:LatestHistoryRecordBeginDate>2018-10-26T00:00:00Z</b:LatestHistoryRecordBeginDate>
                  <b:ManagerUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:ManagerUserIdentity>
                  <b:RequestedTimeOffApprovalUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:RequestedTimeOffApprovalUserIdentity>
                  <b:SkillApprovalUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:SkillApprovalUserIdentity>
                  <b:TimeEntryDelegateUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:TimeEntryDelegateUserIdentity>
                  <b:TimecardApprovalFlag>true</b:TimecardApprovalFlag>
                  <b:TimecardApprovalUserIdentity>
                     <b:UserDisplayName>Web Services</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS01</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607067736</b:UserUid>
                  </b:TimecardApprovalUserIdentity>
                  <b:UserDefinedFields>
                     <b:PwsUserDefinedFieldDetail>
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>RS-Date</b:UdfName>
                        <b:UdfUid>1152921504606856824</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>D</b:DataType>
                        <b:DateValue>2018-10-26T00:00:00Z</b:DateValue>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue i:nil="true"/>
                        <b:UdfTreatment>A</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </b:PwsUserDefinedFieldDetail>
                     <b:PwsUserDefinedFieldDetail>
                        <b:UdfId i:nil="true"/>
                        <b:UdfName>RS-Text</b:UdfName>
                        <b:UdfUid>1152921504606856827</b:UdfUid>
                        <b:BooleanValue i:nil="true"/>
                        <b:DataType>T</b:DataType>
                        <b:DateValue i:nil="true"/>
                        <b:IntegerValue i:nil="true"/>
                        <b:ResourceIdentityValue i:nil="true"/>
                        <b:TextValue>New Resource</b:TextValue>
                        <b:UdfTreatment>A</b:UdfTreatment>
                        <b:StoplightValues/>
                        <b:NumericValue i:nil="true"/>
                        <b:RelationValue i:nil="true"/>
                     </b:PwsUserDefinedFieldDetail>
                  </b:UserDefinedFields>
                  <b:UserIdentity>
                     <b:UserDisplayName>Michael Smith</b:UserDisplayName>
                     <b:UserId i:nil="true"/>
                     <b:UserReferenceSystemId>WS-1101A</b:UserReferenceSystemId>
                     <b:UserUid>1152921504607138122</b:UserUid>
                  </b:UserIdentity>
                  <b:VendorReferenceSystemId>WS-1101A</b:VendorReferenceSystemId>
               </b:ResourceDetail>
               <b:SkillLevels/>
               <b:SkillsApprovedByUser i:nil="true"/>
               <b:SkillsApprovedTimestamp i:nil="true"/>
               <b:SkillsLastUpdatedByUser i:nil="true"/>
               <b:SkillsLastUpdatedTimestamp i:nil="true"/>
               <b:SkillsRejectedFlag>false</b:SkillsRejectedFlag>
               <b:SkillsRejectedReason i:nil="true"/>
               <b:SkillsRejectedTimestamp i:nil="true"/>
               <b:Timestamp>AAAAABCpAFc=</b:Timestamp>
               <b:VendorIdentity>
                  <b:VendorId i:nil="true"/>
                  <b:VendorName>Michael Smith</b:VendorName>
                  <b:VendorUid>1152921504607086873</b:VendorUid>
                  <b:VendorNumber>WS-1101A</b:VendorNumber>
               </b:VendorIdentity>
            </a:Resource>
            <a:ResourceIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
               <b:ResourceDisplayName>Michael Smith</b:ResourceDisplayName>
               <b:ResourceId i:nil="true"/>
               <b:ResourceReferenceSystemId>WS-1101A</b:ResourceReferenceSystemId>
               <b:ResourceUid>1152921504607133205</b:ResourceUid>
            </a:ResourceIdentity>
            <a:Timestamp>AAAAABCpAFc=</a:Timestamp>
         </PwsSaveResourceResult>
      </PwsSaveResourceResponse>
   </s:Body>
</s:Envelope>


PwsSaveResource - Common Errors and Warnings

ErrorNumber

ErrorCode

ErrorText

10104InternalErrorError 57266, State 1: User already linked to another resource (installation = 2378, link user = 291152)
50021RefStructureMismatchError 50021, State 3: Mismatched ref structure ### [refStructureName:PwsUserRef]
50022EntityRequiredError 50022, State 1: Entity is required ### [refStructureName:PwsCostCenterRef]
10104InternalErrorError 57266, State 1: User already linked to another resource (installation = 2378, link user = 291152)