GET /vital_books/:vbid - Read

Description

Shows VitalBook information for a given VBID.  Currently, the response includes XML elements for Build Status, Title, Price (deprecated), Store Price, Digital List Price, Edition, Imprint ID, and VBK format.

GET /vital_books/:VBID.xml?api_key=API_KEY

Required Fields

Parameter
Description

API_KEY

Your API key

:VBID

The VBID for the VitalBook you are trying to view (i.e. /vital_books/978123456789.xml

Success Response

<?xml version="1.0" encoding="UTF-8"?>
<vital_book vbid="L-999-70168">
  <build_status>approved</build_status>
  <title>20,000 Leagues Under the Sea</title>
  <price>2.98</price>
  <store_price>2.98</store_price>
  <digital_list_price>2.98</digital_list_price>
  <edition>0</edition>
  <imprint_id>381</imprint_id>
  <vbk_format>reflowable</vbk_format>
</vital_book>

HTTP Status Codes

Code

Message

200

OK

403 Forbidden

The api_key is incorrect or does not have the proper permissions to access this service

404

User was not found

Example 'curl' command

curl https://services-dev.vitalbook.com/vital_books/L-999-70168.xml?api_key=YOUR_API_KEY

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.