<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/"><Status>Completed</Status><CustomerNumber>335281</CustomerNumber><OrderDate>04-15-15</OrderDate><OrderDetail><Item id="0"><Model><![CDATA[AAS3602I]]></Model><Quantity>1</Quantity><DealerPrice>226.000</DealerPrice><NetPrice>226.000</NetPrice></Item></OrderDetail></string>
<script type="text/javascript">
function unescapeHTML(escapedHTML) {
return escapedHTML.replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');
}
function GetNetPriceByOrders() {
var companyID = "066"
var customerNo = "335281";
var modelNo = "[AAS3602I]";
var qty = "[1]";
var orderDate = "1";
var repNo = "SA7";
var GetNetPriceJSon = "http://clientaccesstest.usa.com/wcf/orders/RestService/ProQuoteService/GetNetPrice";
$(document).ready(function () {
$.ajax({
crossDomain: true,
cache: false,
type: "GET",
async: false,
dataType: "text", // "text/plain", //response format
contentType: "text/plain", //request format
url: GetNetPriceJSon + "(" + companyID + "," + customerNo + "," + modelNo + "," + qty + "," + orderDate + "," + repNo + ")",
success: function (data) {
alert(data)
},
error: function (xhr, status, error) {
alert(xhr.responseText + " : error GetNetPriceJson from Orders");
}
});
});
}
</script>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE