/**
* requestdata - the data packet expected to be passed in by external system
* JSON - data format exchange
* stringify() convert javascript object into a string with JSON.stringify()
* nlobjError - add in catch block to log exceptions
*/
function GetCustomerData(requestdata)
{
...