Example #1
0
        public MailingCreationResponse CreateMailing(Mailing mailing)
        {
            var milingResponse = default(MailingCreationResponse);

            (MailingCreationResponse result, string statusCode, string message) = _api.Post <Mailing, MailingCreationResponse>("api/v1/oauth/mailing/create", mailing);

            if (result != null)
            {
                milingResponse = result;
            }

            return(milingResponse);
        }