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 side, du har bedt om at få vist, er ikke tilgængelig på dit sprog i øjeblikket. Du kan lynhurtigt få websider oversat til et valgfrit sprog ved hjælp af den indbyggede oversættelsesfunktion i Google Chrome.

getAccountList (SOAP) v1

getAccountList (SOAP) v1

Method: getAccountList

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

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:getAccountList>
             <login>LOGIN</login>
             <password>PASSWORD</password>
          </v1:getAccountList>
       </soap:Body>
    </soap:Envelope>

Request arguments:

  • login - user name login

  • password - user password

Response:

  • Account[] - List of available accounts 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 accounts -->
        <getAccountList>
        <login>super_admin</login>
         <password>password</password>
        </getAccountList>
      </env:Body>
    </env:Envelope

Sample SOAP response

 

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

Java and .Net C# samples

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