Updates a book in the database.
HTTP Operation
HTTP POST
URL
https://www.mblast.com/api/rest/v.01/book.update.aspx
Parameters
See the documentation for creating REST queries.
| Parameter | Data type | Description |
|---|
| api | api (required) | mBLAST API assigned to developer. |
| recordID | integer (required) | The recordID assigned to the book. |
| title | string (required) | The title of the book. |
| author | string (required) | The author of the book. |
| link | string (required) | The URL for the book's web page. |
| description | string (required) | An abstract or summary for the book. |
| tableofcontents | string | The table of contents for the book |
| date | date | The date when the book was published. |
| imagelink | string | A URL pointing to a picture for the book. |
| publisher | companyID | The company ID of the book's publisher. |
| keywords | string | Keywords associated with the book, separated by commas. |
Response Elements
Response are returned in an XML document.
| Field | Description |
|---|
| response | Contains the query response. |
| book | Contains the individual book information. |
| recordID | The recordID assigned to the book. |
| title | The title of the book. |
| author | The author of the book. |
| link | The URL for the book's web page. |
| description | An abstract or summary for the book. |
| tableofcontents | The table of contents for the book |
| date | The date when the book was published. |
| imagelink | A URL pointing to a picture for the book. |
| publisher | The company ID of the book's publisher. |
| keywords | Keywords associated with the book, separated by commas. |
Example response
The following is an example of the response returned by the Book.Update method.
<?xml version="1.0" encoding="UTF-8"?>
<response>
<book>
<recordID>12345</recordID>
<title>Wireless Home Networking For Dummies</title>
<author>Daniel Briere</author>
<link>http://www.amazon.com/gp/product/0764539108</link>
<description>
Guides users through the myraid of issues
regarding building a wireless home network.
</description>
<date>2003-05-01T1:00:00Z</date>
<publisher>12345</publisher>
<keywords>home network, wireless network</keywords>
</book>
</response>
Errors
Book.Update returns the standard errors. There are no errors specific to this method.