API Methods: reviews.getItems

Description

Returns a list of review items


Authentication

This method requires authentication without user credentials.

API Version

Version 2

Required parameters

  • category_id or item_id:
    the id of the category containing the post or the id of the review item.

Optional parameters

  • is_parent :
    the parent id of the category

Example response

<?xml version="1.0"?>
<response status="ok" time="Wed, 08 Apr 2009 11:40:09 -0500" p="0.083367109298706">
   <review_items count="1">
       <review_item>
           <id>32</id>
           <userId>3</userId>
           <categoryId>1</categoryId>
           <fields>
               <item_0>
                   <id>8</id>
                   <type><![CDATA[textField]]></type>
                   <label><![CDATA[Untitled]]></label>
                   <defaultValue></defaultValue>
                   <optionsList></optionsList>
                   <maxLength>150</maxLength>
                   <required>1</required>
                   <sequence>1</sequence>
                   <response><![CDATA[API Test]]></response>
               </item_0>
               <item_1>
                   <id>9</id>
                   <type><![CDATA[number]]></type>
                   <label><![CDATA[Number]]></label>
                   <defaultValue></defaultValue>
                   <optionsList></optionsList>
                   <maxLength>150</maxLength>
                   <required>0</required>
                   <sequence>2</sequence>
                   <response>0002</response>
               </item_1>
           </fields>
           <associations>
               <photos></photos>
               <videos></videos>
               <files></files>
           </associations>
           <modified><![CDATA[2009-04-02 16:28:14]]></modified>
           <averageRating></averageRating>
       </review_item>
   </review_items>
</response>