Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Login function is used to log a LAC administrator into LAC using a valid login and password. The response returns a token that must be used to run any other Vendor API functions. The token is valid for 3 hours from successful login.

Return values

On success, the result string contains a token as described above.

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

Also see The response is of the type Soap_Response_Login, the data object that is the response for the Login function.

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:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <username xsi:type="xsd:string">demo</username>
         <password xsi:type="xsd:string">demo</password>
      </ns:Login>
   </soapenv:Body>
</soapenv:Envelope>

...