API Methods: reviews.getReviews

Description

Returns a list of reviews


Authentication

This method requires authentication without user credentials.

API Version

Version 2

Required parameters

  • none

Optional parameters

  • category_id :
    the id of the category
  • is_parent :
    the parent id of the category
  • review_id :
    the id of the review item
  • item :
    the id of the review
  • user_id :
    the id of the user

Example response

<?xml version="1.0"?>
<response status="ok" time="Wed, 08 Apr 2009 12:21:40 -0500" p="0.19510984420776">
   <reviews count="1">
       <review>
           <id>17</id>
           <userId>3</userId>
           <itemId>32</itemId>
           <text><![CDATA[Testing from the API]]></text>
           <modified><![CDATA[2009-04-03 12:00:40]]></modified>
           <rating>
               <id>24</id>
               <rating>1</rating>
               <itemType><![CDATA[review_item]]></itemType>
               <itemId>32</itemId>
               <userId>3</userId>
               <modified><![CDATA[2009-04-03 12:00:40]]></modified>
           </rating>
           <user>
               <username><![CDATA[Jerimiah Milton]]></username>
               <firstName></firstName>
               <lastName><![CDATA[Milton]]></lastName>
               <profilePhoto></profilePhoto>
           </user>
           <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>
           </item>
       </review>
   </reviews>
</response>