GET odata/SiteRatings

Gets a collection of SiteRating objects. Requires the scope Site.Name:{SiteName} to be granted, in other words - SiteRating objects can only be retrieved within the scope of single Site.

Response Information

Response body formats

application/json, text/json

Sample:
{
   "@odata.context":"http://sampleserver.com/odata/$metadata#SiteRatings",
   "value":[
      {
         "SiteRatingID":"f8da745e-2d07-4d43-a7c2-ab84dc97110a",
         "SiteName":"SampleSite",
         "MembershipID":null,
         "RatingValue":9.0,
         "CreatedTime":"2016-09-25T13:56:11.857-07:00"
      },
      {
         "SiteRatingID":"0247b6bc-b32d-489e-a6ee-fe754853a2ce",
         "SiteName":"SampleSite",
         "MembershipID":null,
         "RatingValue":4.0,
         "CreatedTime":"2016-09-25T13:56:21.47-07:00"
      }
   ]
}