Exemplo n.º 1
0
        public Task <ResponseCollection <DynamicContentItemGroup> > GetDynamicContentAsync(string storeId, string[] placeHolders, TagQuery query)
        {
            var parameters = new { store = storeId, placeHolders = String.Join(",", placeHolders) };

            return(GetAsync <ResponseCollection <DynamicContentItemGroup> >(
                       CreateRequestUri(RelativePaths.DynamicContents, query.GetQueryString(parameters))));
        }
Exemplo n.º 2
0
 public Task<string[]> GetPriceListsAsync(
     string catalog,
     string currency,
     TagQuery query)
 {
     var parameters = new { catalog, currency };
     return
         GetAsync<string[]>(
             CreateRequestUri(
                 String.Format(RelativePaths.PriceLists),
                 query.GetQueryString(parameters)));
 }
Exemplo n.º 3
0
        public Task <string[]> GetPriceListsAsync(
            string catalog,
            string currency,
            TagQuery query)
        {
            var parameters = new { catalog, currency };

            return
                (GetAsync <string[]>(
                     CreateRequestUri(
                         String.Format(RelativePaths.PriceLists),
                         query.GetQueryString(parameters))));
        }
Exemplo n.º 4
0
 public Task<ResponseCollection<DynamicContentItemGroup>> GetDynamicContentAsync(string storeId, string[] placeHolders, TagQuery query)
 {
     var parameters = new { store = storeId, placeHolders = String.Join(",", placeHolders) };
     return GetAsync<ResponseCollection<DynamicContentItemGroup>>(
         CreateRequestUri(RelativePaths.DynamicContents, query.GetQueryString(parameters)));
 }
Exemplo n.º 5
0
 /// <summary>
 /// List items matching the given query
 /// </summary>
 public Task<ResponseCollection<DynamicContentItemGroup>> GetDynamicContentAsync(string[] placeHolder, TagQuery query)
 {
     return GetAsync<ResponseCollection<DynamicContentItemGroup>>(CreateRequestUri(String.Format(RelativePaths.Contents, string.Join(",", placeHolder)), query.GetQueryString()));
 }