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 (SOAP) v1

getProfileList (SOAP) v1

Method: getProfileList

Retrieves list of profiles for an authenticated user (and account, if provided)

SOAP Request

 

    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v1="https://urchin.com/api/urchin/v1/">
       <soap:Header/>
       <soap:Body>
          <v1:getProfileList>
             <!--You may enter the following 3 items in any order-->
             <login>LOGIN</login>
             <password>PASSWORD</password>
             <accountId>ACCOUNTID<accountId/>
          </v1:getProfileList>
       </soap:Body>
    </soap:Envelope>

Request arguments:

  • login - user name login

  • password - user password

  • accountId - ID of the account (optional)

Response:

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

Sample SOAP Request

 

    <?xml version="1.0"?>
    <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <env:Body>
        <!-- Retrieves list of profiles -->
        <getProfileList>
        <login>super_admin</login>
         <password>password</password>
         <accountId>1</accountId>
        </getProfileList>
      </env:Body>
    </env:Envelope>

Sample SOAP response

 

    <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
       <soapenv:Header/>
       <soapenv:Body>
          <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>
       </soapenv:Body>
    </soapenv:Envelope>

Java and .Net C# samples

The following samples are available for this method:

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