You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Overview
This web service updates the user defined fields on one or more time cards.
- PwsAdjustTimeUserDefinedField
- serviceRequest: PwsAdjustTimeUserDefinedFieldRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|
RequestId | Int32 | No |
| Click here for more information | 1 |
SessionTicket | String | Yes |
| Click here for more information | AWuKIeUvHQC5lNzuzE3Ugg== |
AdjustmentCodeIdentity | PwsAdjustmentCodeRef | No |
| This structure represents the unique key fields associated with identifying an adjustment code. |
|
PwsTimeUdfAdjustmentOrder | PwsTimeUdfAdjustmentOrder | Yes |
| This structure represents the fields associated with a time card user defined field adjustment |
|
Explanation | String (1024) | No |
| An explanation as to why this adjustment was applied. | Time Card UDF update |
UdfSortOrder | Int32 | No |
|
| 1 |
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: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>