HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetMessageSummariesRequest HTTP/1.1
Host: api.practicevelocity.com
Content-Type: application/xml
Content-Length: length
<GetMessageSummariesRequest 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>
<SessionKey>String</SessionKey>
</GetMessageSummariesRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetMessageSummariesResponse 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>
<Summaries xmlns:d2p1="http://schemas.datacontract.org/2004/07/PV.Data.DirectMessaging.Ccd.Dtos">
<d2p1:EmailSummary>
<d2p1:DateReceived>0001-01-01T00:00:00</d2p1:DateReceived>
<d2p1:From>String</d2p1:From>
<d2p1:HasAttachments>false</d2p1:HasAttachments>
<d2p1:MessageId>0</d2p1:MessageId>
<d2p1:MessageSize>0</d2p1:MessageSize>
<d2p1:Subject>String</d2p1:Subject>
</d2p1:EmailSummary>
</Summaries>
</GetMessageSummariesResponse>