public async void Test_Recur() { const string EveryMinute = "*/1 * * * *"; var request = new RecurringBundleRequest(EveryMinute); request.MailMessages.Add(NewMailMessage()); request.HttpRequests.Add(NewHttpRequestMessage()); request.ApexnetPushNotifications.Add(NewApexnetPushNotification()); var response = await this.client.RecurAsync(request) .ConfigureAwait(false); Assert.NotNull(response.Id); }
public Task <EnqueuedResponse> RecurAsync(RecurringBundleRequest request) { return(this.httpService.CreateAsync <RecurringBundleRequest, EnqueuedResponse>("recur", request, null)); }
public Task<EnqueuedResponse> RecurAsync(RecurringBundleRequest request) { return this.httpService.CreateAsync<RecurringBundleRequest, EnqueuedResponse>("recur", request, null); }