Documentation Center

Log in and open publication main page

Allows a user to log in and immediately open a publication using a single API call. If the login is successful, the user is redirected to the Open Publication Frameset page and granted a new session ID for that publication.

Example API call

/servlets3/wietmsd?date=135132123123&target=main&action=new_book_open&collection=default&book=PDMUNITTEST&username=guest&password=

Parameters

ParameterDescription
targetmain
actionnew_book_open
usernameThe username of the user who is logging in.
passwordThe password that matches the username.
collectionThe name of the collection that the publication is registered in, such as default.
book The name of the publication, such as s1000d_bike_41.
dateTo prevent browser-side caching of data, especially with AJAX requests, it is important to make a URL unique. The most effective technique to accomplish this is to include a time parameter that is based on the time at which the call is made.

Returns

On success
Redirects the user to the Open Publication Frameset API.
On failure
XHTML page reporting a simple error message.