Business period ratings

GET /ratings/


byid=:bid Required int - Socialdraftbusiness id
&period=:period Required string - Period schedule
(‘daily’,’weekly’,’monthly’, ‘yearly’)
&appid=:appid Required API ID - Your application access KEY
&appkey=:appkey Required API ID - Your application access KEY


Response (JSON)


A successful response (Status Code 200) will render a JSON data of the business customers

[

[" Jul 31 " , 3],
[" Aug 1 " , 3],
[" Aug 2 " , 3],
[" Aug 3 " , 3],
[" Aug 4 " , 3],
[" Aug 5 " , 3]

]

Business overall year ratings

GET /ratings/


byid=:bid Required int - Socialdraftbusiness id
overall=true Required boolean - Period schedule
(‘daily’,’weekly’,’monthly’, ‘yearly’)
&appid=:appid Required API ID - Your application access KEY
&appkey=:appkey Required API ID - Your application access KEY


Response (JSON)


A successful response (Status Code 200) will render a JSON data of the business customers

[

[" 2009 " , 3],
[" 2010 " , 3],
[" 2011 " , 3],
[" 2012 " , 3],
[" 2013 " , 3],
[" 2014 " , 3]

]