Notification

Urchin WebAnalytics Software is discontinued and is no longer supported. All Urchin documentation applies only to the Urchin product as it was at the time of discontinuation, and does not apply to any Google Analytics products or services.

getData Sample Request and Response (REST)

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>
 

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Main menu
3248070874798260745
true
Search Help Center
true
true
true
false
false