Exemplo n.º 1
0
		/// <summary>
		/// Sends a specified campaign to one or more address books, segments or contacts at a specified time. Leave the address book array empty to send to All Contacts.
		/// </summary>
		public async Task<ServiceResult<ApiCampaignSend>> PostCampaignsSendAsync(ApiCampaignSend apiCampaignSend)
		{
			var request = new Request(baseAddress, "campaigns/send");
			return await PostAsync<ApiCampaignSend>(request, apiCampaignSend);
		}
Exemplo n.º 2
0
		/// <summary>
		/// Sends a specified campaign to one or more address books, segments or contacts at a specified time. Leave the address book array empty to send to All Contacts.
		/// </summary>
		public ServiceResult<ApiCampaignSend> PostCampaignsSend(ApiCampaignSend apiCampaignSend)
		{
			return PostCampaignsSendAsync(apiCampaignSend).Result;
		}