API.fetchBookTocs
This SOAP-based API is deprecated. Please use the REST-based API instead.
This action allows you to get the table of content of a publication.
Request
| Name | Type | Description |
|---|---|---|
| api_key (required) | string | Use your API key |
| login (required) | string | Use the e-mail address of an account profile that has access to the APIs. |
| md5_pwd (required) | string | Use the password from the profile, encrypted in MD5 format. |
| book_code (required) | string | Unique identifying key for the publication, supplied in the « Your publications » page. |
Response
Returns an array of TOC items:
| Name | Type | Description |
|---|---|---|
| Name | string | Label of the item |
| Level | integer | Hierarchy level of the item. From 1 to the hightest. |
| PageNumber | integer | Page number linked to the item. |
Error codes
See the error code section.
