Esempio n. 1
0
 public static void UpdateLocation(StockLocation location, String ApiToken, String ApiServer)
 {
     Factory.GetResponse("Locations/UpdateLocation", "location=" + Newtonsoft.Json.JsonConvert.SerializeObject(location, serializerSettings) + "", ApiToken, ApiServer);
 }
Esempio n. 2
0
 public static void UpdateLocation(StockLocation location, String ApiToken, String ApiServer)
 {
     Factory.GetResponse("Locations/UpdateLocation", "location=" + Newtonsoft.Json.JsonConvert.SerializeObject(location) + "", ApiToken, ApiServer);
 }
Esempio n. 3
0
 /// <summary>
 /// Use this call to update a location's name and/or details
 /// </summary>
 /// <param name="location">Stock location information to update</param>
 public void UpdateLocation(StockLocation location)
 {
     GetResponse("Locations/UpdateLocation", "location=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(location)) + "", "POST");
 }
Esempio n. 4
0
 /// <summary>
 /// Use this call to update a location's name and/or details
 /// </summary>
 /// <param name="location">Stock location information to update</param>
 public void UpdateLocation(StockLocation location)
 {
     GetResponse("Locations/UpdateLocation", "location=" + JsonFormatter.ConvertToJson(location) + "");
 }