How to make an API Call?

Technical discussion for developers and service providers

How to make an API Call?

Postby rmanev » 7:52pm, Fri 15 Jul, 2011

Hi there.
I'm trying to use PHPList API service and make a call with NuSOAP client.
Can you please tell me or give me an example what method should I call in order add new user to a certain list.
For example when I try this:

Code: Select all
$client = new nusoap_client('https://www.phplist.com/API/soap.php?wsdl&tag=mytag&user=myuser&pass=mypass', 'wsdl');

$param = array('array_email' => array('my@email.com'), 'list_id' => 2);

$result = $client->call('phpListHosted.insertNewUser', $param);



I'm getting this Error message:

operation insertNewUser not present in WSDL.
rmanev
phpList newbie
 
Posts: 1
Joined: 7:45pm, Fri 15 Jul, 2011

Re: How to make an API Call?

Postby michiel » 8:07pm, Mon 15 Aug, 2011

It's better to direct phpList Hosted support requests to the phpList Hosted team via https://www.phplist.com/contactus
michiel
Admin
 
Posts: 1022
Joined: 10:18pm, Fri 11 Apr, 2003
Location: Buenos Aires, Argentina


Return to Developers Space

Who is online

Users browsing this forum: No registered users and 1 guest

cron