PV API Service

<back to all web services

GetMimeMessageRequest

Get Mime Email from a Direct Message Service

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

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/GetMimeMessageRequest HTTP/1.1 
Host: api.practicevelocity.com 
Content-Type: application/xml
Content-Length: length

<GetMimeMessageRequest 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>
</GetMimeMessageRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetMimeMessageResponse 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>
  <Email xmlns:d2p1="http://schemas.datacontract.org/2004/07/PV.Data.DirectMessaging.Ccd.Dtos">
    <d2p1:MimeMessage>String</d2p1:MimeMessage>
  </Email>
</GetMimeMessageResponse>