1.1 Region

By the method IWsBackup GetRegions you can get the list of regions used in Backup services.

/// WsBackupClient.GetRegions   Method (c# .NET)
public static string GetRegions(WsBackupClient client)
{
    //specify the account login details 
    client.ClientCredentials.UserName.UserName = "ARU-0000";
    client.ClientCredentials.UserName.Password = "0123456789";

    StringBuilder stringBuilder = new StringBuilder();

    try
    {
        // call method GetRegions  
        // obtaining a WsResultOfArrayOfRegion item
        WsResultOfArrayOfRegion result = client.GetRegions();

        // if the call is Success print returned values
        if (result.Success)
        {
            stringBuilder.Append("Operation ends successfully\n");

            // get Value returned from server
            Region[] items = result.Value;

            if (items != null)
            {
                foreach (Region item in items)
                {
                    stringBuilder.Append("\nRegion detail\n");

                    stringBuilder.Append("\n RegionID: ");
                    stringBuilder.Append(item.RegionID);
                    stringBuilder.Append("\n RegionCode: ");
                    stringBuilder.Append(item.RegionCode);
                    stringBuilder.Append("\n Description: ");
                    stringBuilder.Append(item.Description);
                }
            }
        }
        else
        {
            throw new ApplicationException(result.ResultMessage);
        }
    }
    catch (Exception ex)
    {
        // re-run the error
        throw new ApplicationException(ex.Message);
    }

    return stringBuilder.ToString();
}
/// IWsBackupClient.GetRegions   Method (Java)
public static String GetRegions(IWsBackupClient client)
{
        //specify the account login details 
    ((BindingProvider) client).getRequestContext()
        .put(BindingProvider.USERNAME_PROPERTY, "ARU-0000");
    ((BindingProvider) client).getRequestContext()
        .put(BindingProvider.PASSWORD_PROPERTY, "0123456789");

        StringBuilder stringBuilder = new StringBuilder();
             
    try
    {
        // call method GetRegions  
        // obtaining a WsResultOfArrayOfRegion item
        WsResultOfArrayOfRegion result = client.GetRegions();

        // if the call is Success print returned values
        if (result.isSuccess())
        {
            stringBuilder.append("Operation ends successfully\n");

            // get Value returned from server
            Region[] items = result.getValue();

            if (items != null)
            {
                for (Region item : items)
                {
                    stringBuilder.append("\nRegion detail\n");

                    stringBuilder.append("\n RegionID: ");
                    stringBuilder.append(item.getRegionID());
                    stringBuilder.append("\n RegionCode: ");
                    stringBuilder.append(item.getRegionCode());
                    stringBuilder.append("\n Description: ");
                    stringBuilder.append(item.getDescription());
                }
            }
        }
        else
        {
            throw new Exception(result.getResultMessage());
        }
    }
    catch (Exception ex)
    {
            System.out.println(ex);
    }

    return stringBuilder.toString();
}
Version
API: v2.8 URL:https://api.services.cloud.it/wsBackup/v2.8/WsBackup.svc?wsdl