Beispiel #1
0
        public void UpdateMailAggregatorAsync(IEnumerable <string> emails, IEnumerable <Guid> userIds)
        {
            var sender = new AsyncRequestSender
            {
                RequestUrl    = String.Format("{0}mail/messages/update_crm.json", SetupInfo.WebApiBaseUrl),
                RequestMethod = "POST",
                RequestBody   = GetPostBody(emails, userIds)
            };

            sender.BeginGetResponse();
        }
        public void UpdateMailAggregatorAsync(IEnumerable<string> emails, IEnumerable<Guid> userIds)
        {
            var sender = new AsyncRequestSender
            {
                RequestUrl = String.Format("{0}mail/messages/update_crm.json", SetupInfo.WebApiBaseUrl),
                RequestMethod = "POST",
                RequestBody = GetPostBody(emails, userIds)
            };

            sender.BeginGetResponse();
        }