getData Sample Request and Response (REST) --Beta Release--
Sample REST Request
http://10.6.229.34:9999/services/v1/reportservice/data?login=super_admin&password=password&ids=7&max-results=2&start-date=2008-01-01&end-date=2008-12-31&dimensions=u:month&metrics=u:hits,u:bytes
Sample REST Response
<tns:getDataResponse xmlns:tns="https://urchin.com/api/urchin/v1/"> <record> <recordId>1</recordId> <dimensions> <dimension name="u:month">2008-02-00T00:00:00Z</dimension> </dimensions> <metrics> <u:hits xmlns:u="https://urchin.com/api/urchin/v1/">836</u:hits> <u:bytes xmlns:u="https://urchin.com/api/urchin/v1/">1953960</u:bytes> </metrics> </record> <record> <recordId>2</recordId> <dimensions> <dimension name="u:month">2008-03-00T00:00:00Z</dimension> </dimensions> <metrics> <u:hits xmlns:u="https://urchin.com/api/urchin/v1/">6322</u:hits> <u:bytes xmlns:u="https://urchin.com/api/urchin/v1/">2291085200</u:bytes> </metrics> </record> </tns:getDataResponse>