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.

Den begärda sidan finns för närvarande inte på svenska. Du kan snabböversätta webbsidor till önskat språk med den inbyggda översättningsfunktionen i Google Chrome.

getTableList (REST) v1

getTableList (REST) v1

Method: getTableList

This method retrieves list of tables for a specified profile.

REST URL

 

http://server_name[:port]/services/vN/reportservice/tables/?login=$login&password=$password&profileId=$profileId

Request arguments:

  • login - User name login

  • password - User password

  • profileId - Profile identifier (not null)

Response:

  • Table[] - list of available tables with each table's dimensions and metrics

Sample REST Request

 

http://urchin.com:9999/services/v1/reportservice/tables/?login=super_admin&password=password&profileId=1

Sample REST Response

 

<tns:getTableListResponse xmlns:tns="https://urchin.com/api/urchin/v1/">
    <table>
        <tableId>1</tableId>
        <dimensions>
            <dimension>u:utm_source</dimension>
            <dimension>u:utm_medium</dimension>
            <dimension>u:utm_campaign</dimension>
        </dimensions>
        <metrics>
            <metric>u:pages</metric>
            <metric>u:visits</metric>
            <metric>u:transactions</metric>
            <metric>u:revenue</metric>
            <metric>u:responses</metric>
            <metric>u:impressions</metric>
            <metric>u:clicks</metric>
            <metric>u:cost</metric>
            <metric>u:goals1</metric>
            <metric>u:goals2</metric>
            <metric>u:goals3</metric>
            <metric>u:goals4</metric>
        </metrics>
    </table>
</tns:getTableListResponse>

Java and .Net C# samples

The following samples are available for this method:

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