Documentation Center

Remote login

Grants a session ID based on a username and password combination. This session ID is valid to use as the id parameter for other API calls that do not require a book and collection parameter.

Example API call

/servlets3/wietmsd?target=interface&action=get_session_id&username=guest&password=guest

Parameters

ParameterDescription
targetinterface
actionget_session_id
usernameThe username of the user who is logging in.
passwordThe password that matches the username.

Returns

On success
<?xml version="1.0"?>
<results>
  <status> SUCCESS</status>
  <message> Success!!!</message>
  <empty_passwd/>
  <temp_passwd/>
  <request name="get_session_id">
    <collection/>
    <book/>
  </request>
  <reply>
    <session-id>1508952408703</session-id>
  </reply>
</results>
On failure
<results>
  <status> ERROR</status> 
  <message> Invalid username or password</message>
  <request name="get_session_id" >
    <collection/> 
    <book/>
  </request>
  <reply>
    <session-id/>
  </reply>
</results>