Ejemplo n.º 1
0
        public List <Contact> GetContactsSubscribedTo(int accountId, int contactListId, int subscriptionId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Contact>(EXECUTE_SUBSCRIPTION, new { accountId, contactListId, subscriptionId, getCount = false }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 2
0
        public List <Contact> GetTotalContacts(int accountId, int contactListId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Contact>(EXECUTE_SUBSCRIPTIONLESS, new { accountId, contactListId, getCount = false }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 3
0
        public List <AccountAttributeDefinition> GetList(bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <AccountAttributeDefinition>(LIST, new { accountId = CurrentAccount }, throwIfEmpty);

            return(rval);
        }
        public List <AccountMedia> GetList(int accountId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <AccountMedia>(LIST, new { accountId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 5
0
        public List <ActionSchedule> GetList(int accountId, int actionId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <ActionSchedule>(LIST, new { accountId, actionId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 6
0
        public List <Keyword> GetList(int accountId, string channel, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Keyword>(LIST, new { accountId, channel }, throwIfEmpty);

            return(rval);
        }
        public List <ContentTemplate> GetList(int accountId, int contentId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <ContentTemplate>(LIST, new { accountId, contentId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 8
0
        public List <Channel> GetList(int accountId, bool throwIfEmpty = true)
        {
            var rval = TDClient.GetList <Channel>(LIST, new { accountId });

            return(rval);
        }
        public List <CampaignReportRow> GetCampaignReport(int accountId, int subscriptionId = 0, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <CampaignReportRow>(LIST, new { accountId, subscriptionId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 10
0
        public List <Subscription> GetList(bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Subscription>(LIST, new { accountId = CurrentAccount }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 11
0
        /// <summary>
        /// Get list of all available accounts
        /// </summary>
        /// <param name="throwIfEmpty">Set to throw exception on empty response.</param>
        /// <exception cref="System.Web.HttpException">On HTTP error</exception>
        /// <returns>List of accounts</returns>
        public List <Account> GetList(bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Account>(ACCOUNT_LIST, null, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 12
0
        public List <CampaignAnswer> GetList(int accountId, int campaignId, bool throwIfEmpty = true)
        {
            var rval = TDClient.GetList <CampaignAnswer>(LIST, new { accountId, campaignId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 13
0
        public List <Contact> GetKeywordContacts(int accountId, int keywordId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Contact>(KEYWORD_CONTACT, new { accountId, keywordId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 14
0
        public List <ContactAttributeDefinition> GetList(int accountId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <ContactAttributeDefinition>(LIST, new { accountId }, throwIfEmpty);

            return(rval);
        }
        public List <ExternalCouponCode> GetList(int accountId, int listId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <ExternalCouponCode>(LIST, new { accountId, listId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 16
0
        public List <ActionImportContacts> GetList(int accountId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <ActionImportContacts>(LIST, new { accountId }, throwIfEmpty);

            return(rval);
        }
        public List <FilterGroup> GetList(int accountId, int contactListId, bool throwIfEmpty = true)
        {
            var rval = TDClient.GetList <FilterGroup>(LIST, new { accountId, contactListId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 18
0
        public List <ContactSubscription> GetList(int contactId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <ContactSubscription>(LIST, new { accountId = CurrentAccount, contactId }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 19
0
        public List <Campaign> GetList(int accountId, bool onlyMine = true, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Campaign>(LIST, new { accountId, onlyMine }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 20
0
        public List <LongCode> GetList(int accountId, bool includeChildren = false, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <LongCode>(DIRECT_LIST, new { accountId, includeChildren }, throwIfEmpty);

            return(rval);
        }
Ejemplo n.º 21
0
        public List <Keyword> GetTotalList(int accountId, bool throwIfEmpty = false)
        {
            var rval = TDClient.GetList <Keyword>(ALL_LIST, new { accountId }, throwIfEmpty);

            return(rval);
        }