Get List Entries.

Retrieves email details for the specified List


Function

  • getListEntries()

Parameters

  • username: String
    • Account login name.
  • password: String
    • Account password.
  • listId: int
    • ID of the list
  • offset: int
    • parameter can be passed to offset in the results.
  • limit: int
    • parameters can be passed to limit the number of returned contacts

Return

  • String:
    • String object containing one list recipient per line. Format of each line:
      • (Entry Id, List Id, Email, Import Date, Last Mail Date, Bounced, optout, Temp bonces, Email Format, Custom Fields size, Custom Fields(if any))

Exception

  • Exception

Documentation

  • Edit a suppression list with name, brand and filename information

Examples

public void getListEntriesSample() throws java.lang.Exception {

        Puresend p = new Puresend();
        PuresendPortType ppt = p.getPuresendHttpsSoap12Endpoint();

        String username = "XXX";
        String password = "XXX";
        int listId = 123456;

        String result = ppt.getListEntries(username, 
                                password,
                                listId,
                                1,
                                20);
}
<?php
include 'puresend.php';

$p = new Puresend();

$getListEntriesData = new getListEntries();
$getListEntriesData->username = 'XXX';
$getListEntriesData->password = 'XXX';
$getListEntriesData->listId = 123456;
$getListEntriesData->offset = 1;
$getListEntriesData->limit = 20;


$response = $p->getListEntries($getListEntriesData);
var_dump($response);

?>