Beispiel #1
0
        /// <summary>
        /// Query for Datafeeds
        /// </summary>
        /// <param name="accountId">the account Id intended on the request</param>
        /// <returns>the retrieved DatafeedFeed</returns>
        public DatafeedFeed QueryDatafeeds(string accountId)
        {
            DatafeedQuery query = new DatafeedQuery();

            query.AccountId = accountId;
            return(QueryDatafeeds(query));
        }
Beispiel #2
0
        /// <summary>
        /// Query for Datafeeds
        /// </summary>
        /// <param name="feedQuery">The DatafeedQuery to use</param>
        /// <returns>the retrieved DatafeedFeed</returns>
        public DatafeedFeed QueryDatafeeds(DatafeedQuery feedQuery)
        {
            if (feedQuery.AccountId == null)
            {
                feedQuery.AccountId = AccountId;
            }

            return(base.Query(feedQuery) as DatafeedFeed);
        }