Versions Compared

Key

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

Overview

This web service deletes a specified expense document (PwsExpenseDocumentRef).

...

Panel
titlePwsDeleteExpenseDocument Request

Request Elements


Element

Data Type

Required?

Description

Sample Data

RequestId

Int32

No

Click here for more information


SessionTicket

String

Yes 

Click here for more information

 Ad9/vlTyZRtWnsPuFVHm7w==

ExpenseDocumentIdentity

PwsExpenseDocumentRef

Yes 

The expense document that will be deleted


ResourceIdentity

PwsResourceRef

No

** This field has been deprecated


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:PwsDeleteExpenseDocument>
         <pws:serviceRequest>
            <req:RequestId>1</req:RequestId>
            <req:SessionTicket>Ad9/vlTyZRtWnsPuFVHm7w==</req:SessionTicket>
            <tim:ExpenseDocumentIdentity>
               <com:DocumentNumber>ER00710</com:DocumentNumber>
            </tim:ExpenseDocumentIdentity>
         </pws:serviceRequest>
      </pws:PwsDeleteExpenseDocument>
   </soapenv:Body>
</soapenv:Envelope>

...

Panel
titlePwsDeleteExpenseDocument Response

...

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.

1

Status

RequestStatus

Click here for more information.

Ok 

ServerTimestampUtc

DateTime

Click here for more information.

2018-02-13T16:21:01.5714232Z 

...