This method is used to retrieve information from y
Field | Type | Description |
---|---|---|
id | integer | Contact id If this parameter is defined, your other parameters will not be considered(Optional) |
name | string | Contact name(Optional) |
first_name | string | Contact first name(Optional) |
string | Contact email(Optional) | |
active | integer | Contact state 0 : Non-active 1 : active 2 : Cancelled 5 : Disabled(Optional) |
listeid | integer | List containing your contact(Optional) |
inscription_list | string | Registration date of your contact into your liste Format AAAA-MM-JJ ou AAAA-MM(Optional) |
inscription_compte | string | Registration date of your contact on your account Format AAAA-MM-JJ ou AAAA-MM(Optional) |
limite | array | Recovery limit Format [0,50](Optional) |
// Recherche de John Doe, actif, dans la liste 12345.
$sgApi
->set('listeid', 12345)
->set('nom', 'Doe')
->set('prenom', 'John')
->set('actif', 1);
//Appel de la méthode
$call = $sgApi->call('get_subscriber');