PV API Service

<back to all web services

LogonRequest

Logon to Direct Messaging Service

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

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

<LogonRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PV.DirectMessaging.DataModel.Logon">
  <EmailServiceType>DirectMessage</EmailServiceType>
  <Password>String</Password>
  <UserIdOrEmail>String</UserIdOrEmail>
</LogonRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

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