AnsweredAssumed Answered

Custom END point is working fine with Record.js but same is not working with Create.js

Question asked by Deepak Kumar on Oct 19, 2016
Latest reply on Nov 7, 2016 by Ramana Raju Santhana

Hi Team,

 

I am calling a Custom END POINT from Record.js/Create.js, but it is only working with Record.js.

 

Following is the client side code:

---------------------------------------------

 

App.api.call('create', App.api.buildURL('AddressValidateBillTo'), {"billingAddressStreet":requestAddress.AddressStreet, "billingAddressCity": requestAddress.AddressCity, "billingAddressState":requestAddress.AddressState, "billingAddressPostalCode":requestAddress.AddressPostalCode,"billingAddressCountry": requestAddress.AddressCountry }, {
success: function (fdata) {

console.log(fdata);
},
error: function (e) {

console.log(e);
}
});

Outcomes