Versions Compared

Key

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

Overview


This web service updates the user defined fields on one or more time cards. 

...

Panel
titlePwsAdjustTimeUserDefinedField

Request Elements


Element

Data Type

Required?

Default

Description

Sample Data

RequestIdInt32No
Click here for more information
1
SessionTicket

String

Yes
Click here for more information
AWuKIeUvHQC5lNzuzE3Ugg==
AdjustmentCodeIdentityPwsAdjustmentCodeRefNo
This structure represents the unique key fields associated with identifying an adjustment code.
AdjustmentOrders

PwsTimeUdfAdjustmentOrder
PwsDailyBillingAdjustmentOrder
PwsTimeUdfAdjustmentOrder
No
Yes
This structure represents the fields associated with a time card
daily billing
user defined field adjustment
Explanation

String (1024)

No
An explanation as to why this adjustment was applied.
Time Card 
Description
UDF update
UdfSortOrderInt32No

1

Request Usage Example(s)


Code Block
languagexml
titleExample 01
collapsetrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:tim="http://projectorpsa.com/DataContracts/Shared/TimeAndCost/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
   <soapenv:Header/>
   <soapenv:Body>
      <pws:PwsAdjustTimeUserDefinedField>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AWuKIeUvHQC5lNzuzE3Ugg==</req:SessionTicket>
            <tim:AdjustmentCodeIdentity>
               <com:AdjustmentCodeId>11503</com:AdjustmentCodeId>
               <com:AdjustmentCodeName>Other</com:AdjustmentCodeName>
               <com:AdjustmentCodeUid>1152921504606858479</com:AdjustmentCodeUid>
            </tim:AdjustmentCodeIdentity>
            <tim:AdjustmentOrders>
               <tim:PwsTimeUdfAdjustmentOrder>
                  <tim:NewValue>
                     <com:RelationValue>
                        <com:CodeValue>TC-Jira</com:CodeValue>
                        <com:TextValue>SD-23</com:TextValue>
                        <com:UidValue>1152921504606857618</com:UidValue>
                     </com:RelationValue>
                  </tim:NewValue>
                  <tim:TimeCardIdentities>
                     <tim:PwsVersionedTimecardRef>
                        <com:TimecardId>45639608</com:TimecardId>
                        <com:TimecardType>T</com:TimecardType>
                        <com:TimecardUid>1152921504652486584</com:TimecardUid>
                     </tim:PwsVersionedTimecardRef>
                  </tim:TimeCardIdentities>
               </tim:PwsTimeUdfAdjustmentOrder>
            </tim:AdjustmentOrders>
            <tim:Explanation>Time Card UDF update</tim:Explanation>
            <tim:UdfSortOrder>1</tim:UdfSortOrder>
         </pws:serviceRequest>
      </pws:PwsAdjustTimeUserDefinedField>
   </soapenv:Body>
</soapenv:Envelope>