Get List Info
Get List Info by List ID.
Function
getListInfo()
Parameters
- username:
String
- Account login name.
- password:
String
- Account password.
- listId:
int
- list id for which data will be returned.
Return
ListInfo
:- ListInfo object containing the list information.
Exception
- Exception
Documentation
- Get List Info by List ID.
Examples
public void getListInfoSample() throws java.lang.Exception {
Puresend p = new Puresend();
PuresendPortType ppt = p.getPuresendHttpsSoap12Endpoint();
String username = "XXX";
String password = "XXX";
int listId = 123456;
ListInfo listInfo = ppt.getListInfo(username, password, listId);
System.out.println(listInfo.getId());
}
<?php
include 'puresend.php';
$p = new Puresend();
$getListInfoData = new getListInfo();
$getListInfoData->username = 'XXX';
$getListInfoData->password = 'XXX';
$getListInfoData->listId = 123456;
$response = $p->getListInfo($getListInfoData);
var_dump($response);
?>