API Commands
[All Commands]

Command: WorldHosting_List_Email_Catch_Alls



command WorldHosting_List_Email_Catch_Alls

Get list of existing catch-alls

Input Parameters ($data):

string ssid Token from Login
string domain hosted domain name

Output Responses:

string status ok | error
array data Details about your request
 
array catchalls list of catch-alls
string edomain catch-all domain name (may be subdomain)
string destination target e-mail address

Sample:


<?php
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/cmd.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
    
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);
$token $response["data"]["ssid"];

$params = array (
  
'data' => 
  array (
    
'ssid' => $token,
    
'domain' => 'domain.or.af',
  ),
);

$response $client->__call("WorldHosting_List_Email_Catch_Alls",$params);
INPUT: Array ( [data] => Array ( [ssid] => 51aca4e95c12821b56a9045babc943e7 [domain] => domain.or.af ) ) OUTPUT: Array ( [status] => ok [data] => Array ( [catchalls] => Array ( [0] => Array ( [edomain] => domain.or.af [destination] => info@domain.or.af ) [1] => Array ( [edomain] => acc.domain.or.af [destination] => info@domain.or.af ) ) ) )

API Manual - version from 2019-07-31 15:54:31