You are here

public function MailchimpAutomations::getWorkflowEmail in Mailchimp 8

Same name in this branch
  1. 8 lib/mailchimp-api-php/src/MailchimpAutomations.php \Mailchimp\MailchimpAutomations::getWorkflowEmail()
  2. 8 lib/mailchimp-api-php/tests/src/MailchimpAutomations.php \Mailchimp\Tests\MailchimpAutomations::getWorkflowEmail()

Gets information about a specific workflow email.

Parameters

string $workflow_id: The unique id for the Automation workflow.

string $workflow_email_id: The unique id for the Automation workflow email.

Return value

object

See also

http://developer.mailchimp.com/documentation/mailchimp/reference/automat...

1 call to MailchimpAutomations::getWorkflowEmail()
MailchimpAutomations::getWorkflowEmail in lib/mailchimp-api-php/tests/src/MailchimpAutomations.php
@inheritdoc
1 method overrides MailchimpAutomations::getWorkflowEmail()
MailchimpAutomations::getWorkflowEmail in lib/mailchimp-api-php/tests/src/MailchimpAutomations.php
@inheritdoc

File

lib/mailchimp-api-php/src/MailchimpAutomations.php, line 69

Class

MailchimpAutomations

Namespace

Mailchimp

Code

public function getWorkflowEmail($workflow_id, $workflow_email_id) {
  $tokens = [
    'workflow_id' => $workflow_id,
    'workflow_email_id' => $workflow_email_id,
  ];
  return $this
    ->request('GET', '/automations/{workflow_id}/emails/{workflow_email_id}', $tokens);
}