You are here

public function SendinblueMailin::getCampaign in SendinBlue 7

Same name and namespace in other branches
  1. 7.2 includes/sendinblue.mailin.php \SendinblueMailin::getCampaign()

Get campaign by id.

Parameters

string $id: A campaign identification.

Return value

array An array of campaigns.

File

includes/sendinblue.mailin.php, line 203
Rest class file.

Class

SendinblueMailin
Sendinblue REST client.

Code

public function getCampaign($id) {
  return $this
    ->get("campaign/" . $id . "/detailsv2", "");
}