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.

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
Main menu
4661596290193094188
true
Search Help Center
true
true
true
false
false