MailChimp.Api.Net.Services.Automation.MCAutomationsEmailsQueue.GetSpecificSubscriberInQueueAsync C# (CSharp) Method

GetSpecificSubscriberInQueueAsync() private method

View specific subscriber in email queue Unique id for the Automation workflow Unique id for the Automation workflow email The MD5 hash of the lowercase version of the list member’s email address.
private GetSpecificSubscriberInQueueAsync ( string workflow_id, string workflow_email_id, string subscriber_hash ) : Task
workflow_id string
workflow_email_id string
subscriber_hash string
return Task
        internal async Task<MCAutomationQueue> GetSpecificSubscriberInQueueAsync(string workflow_id, string workflow_email_id, string subscriber_hash)
        {
            string endpoint = Authenticate.EndPoint(TargetTypes.automations, SubTargetType.emails, SubTargetType.queue, workflow_id, workflow_email_id);
            endpoint = String.Format("{0}/{1}", endpoint, subscriber_hash);

            return await BaseOperation.GetAsync<MCAutomationQueue>(endpoint);
        }

Usage Example

Example #1
0
 /// <summary>
 /// View specific subscriber in email queue
 /// <param name="workflow_id">Unique id for the Automation workflow</param>
 /// <param name="workflow_email_id">Unique id for the Automation workflow email</param>
 /// <param name="subscriber_hash">The MD5 hash of the lowercase version of the list member’s email address.</param>
 /// </summary>
 internal async Task <MCAutomationQueue> GetSpecificSubscriberInQueueAsync(string workflow_id, string workflow_email_id, string subscriber_hash)
 {
     return(await emailQueue.GetSpecificSubscriberInQueueAsync(workflow_id, workflow_email_id, subscriber_hash));
 }