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.

getAccountList (REST) v1

getAccountList (REST) v1

Method: getAccountList

This method retrieves the list of accounts for an authenticated user.

REST URL:

 

http://server_name[:port]/services/vN/adminservice/accounts/?login=$login&password=$password

Request arguments:

  • login - user name login

  • password - user password

Response:

  • Account[] - List of available accounts for an authenticated user.

Sample REST request

 

    http://urchin.com:9999/services/v1/adminservice/accounts/?login=super_admin&password=password

Sample REST response

 

          <tns:getAccountListResponse xmlns:tns="https://urchin.com/api/urchin/v1/">
             <account>
                <accountId>1</accountId>
                <accountName>(NONE)</accountName>
             </account>
             <account>
                <accountId>2</accountId>
                <accountName>account_soap</accountName>
                <contactName>SOAP Administrator Account</contactName>
                <emailAddress>administrator@urchin.com</emailAddress>
             </account>
                <accountId>3</accountId>
                <accountName>PM_account</accountName>
                <contactName>Simple account</contactName>
             </account>
          </tns:getAccountListResponse>

Java and .Net C# samples

 
true
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
false