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
| Parameter | Description |
|---|---|
target | main |
action | new_book_open |
username | The username of the user who is logging in. |
password | The password that matches the username. |
collection | The name of the collection that the publication is registered in, such as default. |
book | The name of the publication, such as s1000d_bike_41. |
date | To 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.