Overview

Skill Level: Any

Prerequisites

After completing the API actions, you must use a Logout request to close and invalidate the session, as shown
below.

Step-by-step

  1. Syntax of the request and response SOAP for Logout

    Before calling any operation that requires authentication, you must obtain a Jsession ID using the Login operation as shown below.

    Operation <Logout>   
    Elements   None 
    Example <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/”
    xmlns:sil=”SilverpopApi:EngageService.SessionHeader”
    xmlns:sil1=”SilverpopApi:EngageService.SessionMgmt.Login”>
    <soapenv:Header>
    <sil:sessionHeader>
    <sil:sessionid>10F7FB1E69637264D36CD36C9F68739E</sil:sessionid>
    </sil:sessionHeader>
    </soapenv:Header>
    <soapenv:Body>
    <sil1:Logout/>
    </soapenv:Body>
    </soapenv:Envelope>
    Response <RESULT>   
    Elements  SUCCESS  TRUE To successfully log off the system, always set to TRUE. 
    Example <envelope:Envelope xmlns:envelope=”http://schemas.xmlsoap.org/soap/envelope/”>
    <envelope:Header/>
    <envelope:Body xmlns=”SilverpopApi:EngageService.SessionMgmt.Login”>
    <RESULT>
    <SUCCESS>true</SUCCESS>
    </RESULT>
    </envelope:Body>
    </envelope:Envelope>

Join The Discussion

Your email address will not be published. Required fields are marked *