I would build the JSON object ahead of time like this. I removed unnecessary code and simplified it a little. If the there is a problem in the call, the 'error' function is called, not 'failure'. Make sure the URL you are calling is valid. I'm assuming this script is being run in the same folder where the aspx file exists.
There seem to be syntax issues with the way you constructed your JSON data object. There are double quotes missing to enclose the values and there aren't any double quotes around the strings, try rewriting it as such: