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>