PV API Service

<back to all web services

DeleteMessageRequest

Delete Email Message From Direct Message Source

The following routes are available for this service:
POST, OPTIONS/DirectMessaging/DeleteMessage

To override the Content-type in your clients HTTP Accept Header, append ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/DeleteMessageRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/xml
Content-Length: length

<DeleteMessageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.DirectMessaging.DataModel.Messages">
  <EmailServiceType>DirectMessage</EmailServiceType>
  <LoggedInUser>String</LoggedInUser>
  <MessageId>0</MessageId>
  <SessionKey>String</SessionKey>
</DeleteMessageRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DeleteMessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.DirectMessaging.DataModel.Messages">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/PV.DirectMessaging.DataModel.Common">String</ErrorMessage>
</DeleteMessageResponse>