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.

getProfileList (REST) v1

getProfileList (REST) v1

Method: getProfileList

This method retrieves a list of profiles for an authenticated user (and for an optionally specified account).

REST URL:

 

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

Request arguments:

  • login - user name login

  • password - user password

  • accountId - ID of the account (optional)

Response:

  • Profile[] - List of available profiles for an authenticated user.

Request/Response samples Here is a sample REST request for the getProfileList method:

 

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

Sample REST response:

 

          <tns:getProfileListResponse xmlns:tns="https://urchin.com/api/urchin/v1/">
             <profile>
                <accountId>1</accountId>
                <accountName>(NONE)</accountName>
                <profileId>1</profileId>
                <profileName>tets.profile</profileName>
             </profile>
             <profile>
                <accountId>1</accountId>
                <accountName>(NONE)</accountName>
                <profileId>3</profileId>
                <profileName>ttets.profile (utm)</profileName>
             </profile>
          </tns:getProfileListResponse>

Java and .Net C# samples

The following samples are available for this method:

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