Exemplo n.º 1
0
 public static void BookInStockItem(BookInStockItem stockItem, String ApiToken, String ApiServer)
 {
     Factory.GetResponse("Stock/BookInStockItem", "stockItem=" + Newtonsoft.Json.JsonConvert.SerializeObject(stockItem) + "", ApiToken, ApiServer);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Increases the stock level and current stock value of a stock item by the specified quantity.
 /// </summary>
 /// <param name="stockItem">Book in parameters used to update stock items</param>
 public void BookInStockItem(BookInStockItem stockItem)
 {
     GetResponse("Stock/BookInStockItem", "stockItem=" + JsonFormatter.ConvertToJson(stockItem) + "");
 }
Exemplo n.º 3
0
 public static void BookInStockItem(BookInStockItem stockItem, Guid ApiToken, String ApiServer)
 {
     Factory.GetResponse("Stock/BookInStockItem", "stockItem=" + Newtonsoft.Json.JsonConvert.SerializeObject(stockItem, serializerSettings) + "", ApiToken, ApiServer);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Increases the stock level and current stock value of a stock item by the specified quantity.
 /// </summary>
 /// <param name="stockItem">Book in parameters used to update stock items</param>
 public void BookInStockItem(BookInStockItem stockItem)
 {
     GetResponse("Stock/BookInStockItem", "stockItem=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(stockItem)) + "");
 }