Shopping_FindReviewsAndGuidesRequestType Class Reference
| Inherits from | Shopping_AbstractRequestType : NSObject |
| Declared in | Shopping_FindReviewsAndGuidesRequestType.h Shopping_FindReviewsAndGuidesRequestType.m |
Tasks
-
productIDUse this to retrieve reviews (not guides) for one specific product.
property
Specify the ID as a string, and use the type attribute
to indicate the nature of the ID you are specifying.
Same as FindProducts, supports Reference, ISBN, UPC, EAN.
ProductID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together. -
userIDRetrieves reviews and guides written by the specified user.
property
UserID can be combined with either ProductID or CategoryID but not both (as
ProductID and CategoryID cannot be used together). -
categoryIDSpecify a single CategoryID to restrict your query to a specific Guide category.
property
If the specified category ID doesn’t match an existing category
for the site, an invalid-category error message is returned.
To determine valid categories:
Use findItemsAdvanced from the Finding API with CategoryHistogram value in the OutputSelector field
to retrieve matching categories. Then make another
FindReviewsAndGuides call with the ID of a matching category.
CategoryID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together. -
maxResultsPerPageSpecifies the maximum number of reviews per page (not guides) in the returned list. If not
property
specified, the default returns 5 results per page. -
pageNumberSpecifies the number of the page of data to return in the current call.
property
Specify a positive value equal to or lower than the number of pages
available (which you determine by examining the results of your initial request). -
reviewSortInclude ReviewSort in your request if you want to sort by a parameter,
property
such as CreationTime. See the SortOrder field for values for specifying
that results are returned in ascending or descending order.
(By default, results are returned in descending order.) -
sortOrderSorts search results in ascending or descending order, in conjunction
property
with the value you specify in ReviewsSort. The default is descending
order.
For example, for the ReviewsSort value of CreationTime,
and a SortOrder value of Descending, the most recently created
reviews are returned first.
Properties
categoryID
Specify a single CategoryID to restrict your query to a specific Guide category.
If the specified category ID doesn’t match an existing category
for the site, an invalid-category error message is returned.
To determine valid categories:
Use findItemsAdvanced from the Finding API with CategoryHistogram value in the OutputSelector field
to retrieve matching categories. Then make another
FindReviewsAndGuides call with the ID of a matching category.
CategoryID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
@property (nonatomic, retain) NSString *categoryIDDiscussion
Specify a single CategoryID to restrict your query to a specific Guide category.
If the specified category ID doesn’t match an existing category
for the site, an invalid-category error message is returned.
To determine valid categories:
Use findItemsAdvanced from the Finding API with CategoryHistogram value in the OutputSelector field
to retrieve matching categories. Then make another
FindReviewsAndGuides call with the ID of a matching category.
CategoryID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
type : NSString, wrapper for primitive string
Declared In
Shopping_FindReviewsAndGuidesRequestType.hmaxResultsPerPage
Specifies the maximum number of reviews per page (not guides) in the returned list. If not
specified, the default returns 5 results per page.
@property (nonatomic, retain) NSNumber *maxResultsPerPageDiscussion
Specifies the maximum number of reviews per page (not guides) in the returned list. If not
specified, the default returns 5 results per page.
type : NSNumber, wrapper for primitive int
Declared In
Shopping_FindReviewsAndGuidesRequestType.hpageNumber
Specifies the number of the page of data to return in the current call.
Specify a positive value equal to or lower than the number of pages
available (which you determine by examining the results of your initial request).
@property (nonatomic, retain) NSNumber *pageNumberDiscussion
Specifies the number of the page of data to return in the current call.
Specify a positive value equal to or lower than the number of pages
available (which you determine by examining the results of your initial request).
type : NSNumber, wrapper for primitive int
Declared In
Shopping_FindReviewsAndGuidesRequestType.hproductID
Use this to retrieve reviews (not guides) for one specific product.
Specify the ID as a string, and use the type attribute
to indicate the nature of the ID you are specifying.
Same as FindProducts, supports Reference, ISBN, UPC, EAN.
ProductID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
@property (nonatomic, retain) Shopping_ProductIDType *productIDDiscussion
Use this to retrieve reviews (not guides) for one specific product.
Specify the ID as a string, and use the type attribute
to indicate the nature of the ID you are specifying.
Same as FindProducts, supports Reference, ISBN, UPC, EAN.
ProductID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
type : class Shopping_ProductIDType
Declared In
Shopping_FindReviewsAndGuidesRequestType.hreviewSort
Include ReviewSort in your request if you want to sort by a parameter,
such as CreationTime. See the SortOrder field for values for specifying
that results are returned in ascending or descending order.
(By default, results are returned in descending order.)
@property (nonatomic, retain) NSString *reviewSortDiscussion
Include ReviewSort in your request if you want to sort by a parameter,
such as CreationTime. See the SortOrder field for values for specifying
that results are returned in ascending or descending order.
(By default, results are returned in descending order.)
type: string constant in Shopping_ReviewSortCodeType.h
Declared In
Shopping_FindReviewsAndGuidesRequestType.hsortOrder
Sorts search results in ascending or descending order, in conjunction
with the value you specify in ReviewsSort. The default is descending
order.
For example, for the ReviewsSort value of CreationTime,
and a SortOrder value of Descending, the most recently created
reviews are returned first.
@property (nonatomic, retain) NSString *sortOrderDiscussion
Sorts search results in ascending or descending order, in conjunction
with the value you specify in ReviewsSort. The default is descending
order.
For example, for the ReviewsSort value of CreationTime,
and a SortOrder value of Descending, the most recently created
reviews are returned first.
type: string constant in Shopping_SortOrderCodeType.h
Declared In
Shopping_FindReviewsAndGuidesRequestType.huserID
Retrieves reviews and guides written by the specified user.
UserID can be combined with either ProductID or CategoryID but not both (as
ProductID and CategoryID cannot be used together).
@property (nonatomic, retain) NSString *userIDDiscussion
Retrieves reviews and guides written by the specified user.
UserID can be combined with either ProductID or CategoryID but not both (as
ProductID and CategoryID cannot be used together).
type : NSString, wrapper for primitive string
Declared In
Shopping_FindReviewsAndGuidesRequestType.h