Load Bookmark dialog

Loading the Bookmark dialog page provides the user with an XHTML page that contains the bookmark editing or creating interface. Information about the current bookmark (being edited) or the new bookmark (being created) is dynamically inserted into the XHTML template.

Example API call

/servlets3/wietmsd?id=1514472843374&book=s1000d_bike_41&collection=default&time=1514472842210&target=annot&action=bookmark_dlg

Parameters

ParameterDescription
targetannot
actionbookmark_dlg
idA session ID that is valid for this collection and publication combination.
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.
timeTo 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 date parameter that is based on the time at which the call is made.

XML post data

This API call requires XML post data to complete. An example of that XML data is given here.
<bmdata>
     <docid>S1000DBIKE-AAA-D00-00-00-00-AA-663-A-A</docid>
     <eid>10</eid>
     <eidoffset>0</eidoffset>
     <location>s1000d_bike_41%5CBike%204.1%5CBicycle%5CBicycle%20-%20Standard%20repair%20procedures</location>
     <annot_id>undefined</annot_id>
</bmdata>

Returns

On success
The XHTML page, bookmark_dlg.html is loaded from the current skin.
On failure
Returns nothing