Logoff request
This C# example logs off from Sage CRM.
Copy
//Log off
if (binding.logoff(binding.SessionHeaderValue.sessionId).success)
{
Write("Logged off");
}
This XML example logs off from Sage CRM.
Copy
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<SessionHeader xmlns="http://tempuri.org/type">
<sessionId>57240080053832</sessionId>
</SessionHeader>
</soap:Header>
<soap:Body>
<logoff xmlns="http://tempuri.org/type">
<sessionId>57240080053832</sessionId>
</logoff>
</soap:Body>
</soap:Envelope>