Client Management Systems API

The CMS Live Logout request allows the White Label to logout from the CMS API. This request will terminate the SessionId validaty.


The request has the following parameter:

Parameter

Data type

Mandatory

Description

SessionId

String

Yes

SessionId that is to be terminated

SOAP 1.2 Definition

Request

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08">
   <soapenv:Header>
 <ns:SessionId>?</ns:SessionId>
 </soapenv:Header>
   <soapenv:Body>
     <ns:LogoutRequest/>
   </soapenv:Body>
 </soapenv:Envelope> 


Response

 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
     <LogoutResponse xmlns="http://www.saxobank.com/service/cms/2013/08"/>
 <LoggedOut>boolean</LoggedOut>
 </LogoutResponse>
   </s:Body>
 </s:Envelope>

Code Examples

Code example 4: Login request

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.saxobank.com/service/cms/2013/08">
   <soapenv:Header>
 <ns:SessionId>EmtEOJc+z969HuaLQPZ77oVrCF4Muf+TJ9N/pu7x+ow=</ns:SessionId>
 </soapenv:Header>
   <soapenv:Body>
     <ns:LogoutRequest/>
   </soapenv:Body>
 </soapenv:Envelope>


 Code example 5: Login Response

 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
     <LogoutResponse xmlns="http://www.saxobank.com/service/cms/2013/08"/>
 <LoggedOut>true</LoggedOut>
 </LogoutResponse>
   </s:Body>
 </s:Envelope>