Top clicked results

Returns the top clicked results over the specified period. Results are sorted on highest click count first.

Example call

https://api.sooqr.com/v1/reports/100000/1/result-clicks?dateFrom=2015-01-01&dateTo=2015-01-02

Parameters (GET)

Parameter Required Example Description
dateFrom Yes 2015-01-01 Start of the reporting period
dateTo Yes 2015-01-02 End of the reporting period
offset No 0 Starting item offset within resultset
limit No 10 Limit number of results in response, between 1 and 100
Defaults to 10

Result example

{
   "items":[
      {
         "t":"Nokia 2610 Phone",
         "u":"http://magento-demo.sooqr.com/nokia-2610-phone.html",
         "c":7
      },
      {
         "t":"Sony Ericsson W810i",
         "u":"http://magento-demo.sooqr.com/sony-ericsson-w810i.html",
         "c":4
      },
      {
         "t":"AT",
         "u":"http://magento-demo.sooqr.com/atandt-8525-pda.html",
         "c":4
      },
      {
         "t":"The Get Up Kids: Band Camp Pullover Hoodie",
         "u":"http://magento-demo.sooqr.com/the-get-up-kids-band-camp-pullover-hoodie.html",
         "c":4
      },
      {
         "t":"CN Clogs Beach/Garden Clog",
         "u":"http://magento-demo.sooqr.com/cn-clogs-beach-garden-clog.html",
         "c":3
      }
   ],
   "metaData":{
      "itemsInResult":5,
      "totalItems":20
   }
}

Results are returned inside the items node. The metaData node contains information on the full dataset for this period. You can paginate through the results by specifying the limit and offset parameters in the request.

Value Type Description
t string Title of the clicked result
u string URL of the clicked result
c integer Number of clicks in the specified period