Versions Compared

Key

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

Overview


This web service deletes a specified expense document cost card (PwsCostCardRef).

...

Panel
titlePwsDeleteExpenseDocumentCostCard Request

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.

AUL1Tsqbhar4SWXC5j9T+w==

Comments

String (255)

No 


Cost Card deletion comments

Request 01

CostCardIdentity

PwsCostCardRef

Yes 


The cost card identity to be deleted


ExpenseDocumentIdentity

PwsExpenseDocumentRef

Yes 


The expense document the cost card resides under


ExpenseDocumentTimestamp

String

No 


This is a Base64 encoded timestamp utilized for expense document locking. To protect against overwriting other changes, you may optionally echo back the timestamp returned by a call to PwsGetExpenseDocument. This will cause the request to fail if any change has been made between invocations of PwsGetExpenseDocument and PwsDeleteExpenseDocumentCostCard.


ResourceIdentity

PwsResourceRef

No 


** This field has been deprecated


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:PwsDeleteExpenseDocumentCostCard>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>AUL1Tsqbhar4SWXC5j9T+w==</req:SessionTicket>
            <tim:Comments>Request 01</tim:Comments>
            <tim:CostCardIdentity>
               <com:CostCardUid>1152921504614515300</com:CostCardUid>
            </tim:CostCardIdentity>
            <tim:ExpenseDocumentIdentity>
               <com:DocumentNumber>ER00722</com:DocumentNumber>
            </tim:ExpenseDocumentIdentity>
         </pws:serviceRequest>
      </pws:PwsDeleteExpenseDocumentCostCard>
   </soapenv:Body>
</soapenv:Envelope>

...