public ChatConfig GetItem(int accountId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ChatConfig>(ITEM, new { accountId }); return(rval); }
public Campaign GetAttachedCampaign(int accountId, string channel, string keyword, bool throwIfEmpty = false) { var rval = TDClient.GetItem <Campaign>(KEYWORD_CAMPAIGN, new { accountId, channel, keyword }, throwIfEmpty); return(rval); }
public ChatToken GetToken(int accountId) { var rval = TDClient.GetItem <ChatToken>(TOKEN, new { accountId }); return(rval); }
public CouponDefinition GetById(int accountId, int campaignId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <CouponDefinition>(ITEM, new { accountId, campaignId }, throwIfEmpty); return(rval); }
public ContactSubscription GetById(int contactId, int subscriptionId, bool throwIfEmpty = false) { var rval = TDClient.GetItem <ContactSubscription>(ITEM, new { accountId = CurrentAccount, contactId, subscriptionId }, throwIfEmpty); return(rval); }
public AccountMedia GetById(int accountId, int imageId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <AccountMedia>(ITEM, new { accountId, imageId }, throwIfEmpty); return(rval); }
public ContactAttributeDefinition GetById(int accountId, int definitionId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ContactAttributeDefinition>(ITEM, new { accountId, definitionId }, throwIfEmpty); return(rval); }
public Account GetById(int accountId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <Account>(ACCOUNT, new { accountId }, throwIfEmpty); return(rval); }
public ApiKey GetById(int accountId, int keyId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ApiKey>(ITEM, new { accountId, keyId }, throwIfEmpty); return(rval); }
public CouponOffer GetById(int accountId, int campaignId, bool throwIfEmpty = false) { var rval = TDClient.GetItem <CouponOffer>(ITEM, new { accountId, campaignId }, throwIfEmpty); return(rval); }
public Link GetById(int accountId, int linkId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <Link>(ITEM, new { accountId, linkId }, throwIfEmpty); return(rval); }
public CampaignSurvey GetById(int accountId, int campaignId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <CampaignSurvey>(ITEM, new { accountId, campaignId }, throwIfEmpty); return(rval); }
public ExternalCouponList GetById(int accountId, int listId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ExternalCouponList>(ITEM, new { accountId, listId }, throwIfEmpty); return(rval); }
public Callback GetById(int accountId, int callbackId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <Callback>(ITEM, new { accountId, callbackId }, throwIfEmpty); return(rval); }
public ExternalCouponCode GetById(int accountId, int listId, string couponCode, bool throwIfEmpty = false) { var rval = TDClient.GetItem <ExternalCouponCode>(ITEM, new { accountId, listId, couponCode }, throwIfEmpty); return(rval); }
public CampaignReportRow GetReportForCampaign(int accountId, int campaignId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <CampaignReportRow>(ITEM, new { accountId, subscriptionId = 0, campaignId }, throwIfEmpty); return(rval); }
public FilterGroup GetById(int accountId, int contactListId, int groupId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <FilterGroup>(ITEM, new { accountId, contactListId, groupId }, throwIfEmpty); return(rval); }
public Subscription GetById(int subscriptionId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <Subscription>(ITEM, new { accountId = CurrentAccount, subscriptionId }, throwIfEmpty); return(rval); }
public ContactList GetById(int accountId, int contactListId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ContactList>(ITEM, new { accountId, contactListId }, throwIfEmpty); return(rval); }
public User GetSelf() { var rval = TDClient.GetItem <User>(USERINFO, null); return(rval); }
public CouponRedemptionDetails RedemptionDetails(int accountId, int campaignId) { var rval = TDClient.GetItem <CouponRedemptionDetails>(REDEMPTION_DETAILS, new { accountId, campaignId }); return(rval); }
public User GetUser(int accountId, string username, bool throwIfEmpty = true) { var rval = TDClient.GetItem <User>(ITEM, new { accountId, username }, throwIfEmpty); return(rval); }
public ActionImportContacts GetById(int accountId, int actionId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ActionImportContacts>(ITEM, new { accountId, actionId }, throwIfEmpty); return(rval); }
public ContentTemplate GetById(int accountId, int contentId, int templateId, bool throwIfEmpty = true) { var rval = TDClient.GetItem <ContentTemplate>(ITEM, new { accountId, contentId, templateId }, throwIfEmpty); return(rval); }
public ActionSchedule GetById(int accountId, int actionId, int scheduleId, bool throwIfEmpty = false) { var rval = TDClient.GetItem <ActionSchedule>(ITEM, new { accountId, actionId, scheduleId }, throwIfEmpty); return(rval); }
public Keyword GetByName(int accountId, string channel, string keyword, bool throwIfEmpty = true) { var rval = TDClient.GetItem <Keyword>(ITEM, new { accountId, channel, keyword }, throwIfEmpty); return(rval); }