Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Function The Logout function is used to log a LAC administrator out of LAC using a token (created by the Login function).

Return values

On failure, the result string contains an error message. See SOAP API return codes for further information on error messages.

Example request:

No Format

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="

...

https://

...

license.

...

x-formation.com/soap/type/vendor/version/1?wsdl">

...


   <soapenv:Header/>

...


   <soapenv:Body>

...


      <ns:Logout soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

...


         <token xsi:type="xsd:string">390bbf1a84283460a847b492843d96c57c5eff58</token>

...


      </ns:Logout>

...


   </soapenv:Body>

...


</soapenv:Envelope>

Example response:

No Format

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="

...

https://

...

license.

...

x-formation.com/soap/type/vendor/version/1?wsdl"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">

...


   <SOAP-ENV:Body>

...


      <ns1:LogoutResponse>

...


         <return xsi:type="ns1:Soap_Response">

...


            <result_code xsi:type="xsd:int">0</result_code>

...


            <result_string xsi:nil="true"/>

...


         </return>

...


      </ns1:LogoutResponse>

...


   </SOAP-ENV:Body>

...


</SOAP-ENV:Envelope>