GET /AggregateScores

Returns aggregate scores, combined for all companies per sector, or all sectors inclusive.

Resource URL

http://api.climatecounts.org/1/AggregateScores{.format}


Data

Response Formats

Specifies the format of the results response. Can be overriden by appending (.xml, .json) to Resource URL. For JSONP, include callback querystring parameter.

Default Value: Determined by HTTP Media-type header

Possible Values: xml, json

Parameters

Year optional

Specifies the year for which scores are to be returned.

Default Value: Latest year that scores are available eg. 2011

Example Value: 2011, 2010, All (returns all years)

Overall optional

Specifies if the results returned should be based on all results, or by sector.

Default Value: False

Possible Value: True, False

Example Request

[
   {
      "Change":3,
      "NumScores":136,
      "PolicyStance":2,
      "Reduce":26,
      "Report":6,
      "Review":12,
      "Sector":"",
      "SectorCode":"",
      "SumChange":480,
      "SumPolicyStance":398,
      "SumReduce":3561,
      "SumReport":869,
      "SumReview":1708,
      "Total":48,
      "Year":2011
   }
]