Esempio n. 1
0
        /// <summary>
        /// Get all purchase order extended properties
        /// </summary>
        /// <param name="request"></param>
        public Get_PurchaseOrderExtendedPropertyResponse Get_PurchaseOrderExtendedProperty(Get_PurchaseOrderExtendedPropertyRequest request)
        {
            var response = GetResponse("PurchaseOrder/Get_PurchaseOrderExtendedProperty", "request=" + System.Net.WebUtility.UrlEncode(JsonFormatter.ConvertToJson(request)) + "");

            return(JsonFormatter.ConvertFromJson <Get_PurchaseOrderExtendedPropertyResponse>(response));
        }
Esempio n. 2
0
        /// <summary>
        /// Get all purchase order extended properties
        /// </summary>
        /// <param name="request"></param>
        public Get_PurchaseOrderExtendedPropertyResponse Get_PurchaseOrderExtendedProperty(Get_PurchaseOrderExtendedPropertyRequest request)
        {
            var response = GetResponse("PurchaseOrder/Get_PurchaseOrderExtendedProperty", "request=" + JsonFormatter.ConvertToJson(request) + "");

            return(JsonFormatter.ConvertFromJson <Get_PurchaseOrderExtendedPropertyResponse>(response));
        }
Esempio n. 3
0
 public static Get_PurchaseOrderExtendedPropertyResponse Get_PurchaseOrderExtendedProperty(Get_PurchaseOrderExtendedPropertyRequest request, Guid ApiToken, String ApiServer)
 {
     return(Newtonsoft.Json.JsonConvert.DeserializeObject <Get_PurchaseOrderExtendedPropertyResponse>(Factory.GetResponse("PurchaseOrder/Get_PurchaseOrderExtendedProperty", "request=" + Newtonsoft.Json.JsonConvert.SerializeObject(request, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings {
         NullValueHandling = NullValueHandling.Ignore
     }));
 }