Load TOC path XML
This API call retrieves the hierarchical path to a document that is within the publication's TOC. Because a TOC is usually loaded in levels for efficiency, it is possible that a document that is down a TOC path that has not been loaded will not be present in the client-side TOC. This API call allows the client to gain information about that document by its ID. The resulting XML has a list of <EID/> elements that list, in document order, the TOC elements that contain the targeted document.
Example API call
/servlets3/wietmsd?id=1460038885460&target=toc&action=path_eid&eid=15&collection=default&book=s1000d_bike_41
Parameters
| Parameter | Description |
|---|---|
target | toc |
action | path_eid |
eid | The element-level ID of <applic/> tag or any root element such as <DOCUMENT/> inside the TOC index. |
id | A session ID that is valid for this collection and publication combination. |
collection | The name of the collection that the publication is registered in, such as default. |
book | The name of the publication, such as PDMUNITTEST. |
Returns
- On success
-
<RESULT> <STATUS>OK</STATUS> <DATA> <EID>2</EID> <EID>4</EID> <EID>6</EID> <EID>7</EID> <EID>10</EID> <EID>12</EID> <EID>13</EID> <EID>15</EID> </DATA> </RESULT> - On failure
- Nothing.