The AlternateVersions response group returns all of the available media formats for a book title. Sample formats include Paperback, Audio CD, Audio Cassette, and Hardcover. This response group works only with the Books and ForeignBooks product categories, that is, for ItemSearch and ItemLookup, the search index must be Books or, in non-US locales, ForeignBooks, and, for ItemLookup, the specified item must be a book or foreign book.
The following list shows the complete set of formats that AlternateVersions can return.
|
|
|
Operations that can use this response group include:
ItemSearch, when the search index is Books or, in non-US locales, ForeignBooks
ItemLookup when the specified item is a book or foreign book and, if a search index is specified, the value must be Books or, in non-US locales, ForeignBooks
All locales
The following table describes and shows the parentage of the elements returned by AlternateVersions. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.
| Element | Ancestry | Description |
|---|---|---|
| AlternateVersion | AlternateVersions | Container for AlternateVersion information, including ASIN, Title, and Binding. |
| ASIN | AlternateVersions/AlternateVersion | A positive integer that uniquely idenfies an item for sale. |
| Binding | AlternateVersions/AlternateVersion | The format of the item, for example, Paperback, Audio CD, Audio Cassette, or Hardcover. |
| Title | AlternateVersions/AlternateVersion | The title of the item. |
The following response groups are parent response groups of AlternateVersions.
None
The following response groups are children response groups of AlternateVersions.
None
The folllowing request was used to illustrate the XML response elements returned by AlternateVersions.
http://webservices.amazon.com/onca/xml?Service=AWSECommerceService& Operation=ItemSearch& AWSAccessKeyId=[Access Key ID]& AssociateTag=ws& SearchIndex=Books& Keywords=potter&MerchantId=All& ResponseGroup=AlternateVersions& Version=2007-01-17
The following response snippet shows the elements returned by AlternateVersions.
<AlternateVersions>
<AlternateVersion>
<ASIN>030728364X</ASIN>
<Title>Harry Potter and the Half-Blood Prince (Book 6)</Title>
<Binding>Audio Cassette</Binding>
</AlternateVersion>
<AlternateVersion>
<ASIN>0307283658</ASIN>
<Title>Harry Potter and the Half-Blood Prince (Book 6)</Title>
<Binding>Audio CD</Binding>
</AlternateVersion>
<AlternateVersion>
<ASIN>0439785960</ASIN>
<Title>
Harry Potter And The Half-Blood Prince (Harry Potter, Book 6) (Harry Potter)
</Title>
<Binding>Paperback</Binding>
</AlternateVersion>
<AlternateVersion>
<ASIN>0439786770</ASIN>
<Title>
Harry Potter and the Half-Blood Prince (Book 6) [LIBRARY EDITION]
</Title>
<Binding>Library Binding</Binding>
</AlternateVersion>