You can get the account name with the getAccountName method.

Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.

 

Parameters

ParameterTypeDescription
credentials (required)credentialsRead the description of the Credentials object.


Return Value

After the request has been completed, the system returns an object with the following properties:

ParameterTypeDescription
accountNamestringName of your account.


Sample Call

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns="http://ispringlearn.com/go/services/api/soap">
  <SOAP-ENV:Body>
    <GetAccountNameRequest>
      <credentials>
        <accountUrl>http://myaccount.ispringlearn.com</accountUrl>
        <email>email@email.com</email>
        <password>password</password>
      </credentials>
    </GetAccountNameRequest>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML

Sample Response

<?xml version="1.0" encoding="utf-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns="http://ispringlearn.com/go/services/api/soap">
  <SOAP-ENV:Body>
    <GetAccountNameResult>
      <accountName>My account</accountName>
    </GetAccountNameResult>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML