GetCurrentAccountInfo

This method retrieves a status report listing key information and operational aspects relevant to the account, such as Name (of account holder), MainMobilePhoneNumber, MainEmail, ListManagedUsers, ApiCallsInLastHour, ApiCallsRemaining, ApiEndpoint and so on.

You can use the r1-api.dotmailer.com endpoint with this method, regardless of what region you're in, to find out your account's correct region endpoint if you don't know it.

SOAP action: http://apiconnector.com/v2/ApiService/GetCurrentAccountInfo

πŸ“˜

Input and output parameters

The input and output parameters for this method are:

Input parameters
None required

Output parameters

  • GetCurrentAccountInfoResult
    • Id - integer
    • Properties - array
      • AccountProperty
        • Name - string
        • Type - string
        • Value - string

Example

using (var client = new ApiServiceClient())
{
	client.ClientCredentials.UserName.UserName = "username";
	client.ClientCredentials.UserName.Password = "password";

	var accountInfo = client.GetCurrentAccountInfo();
}