[SOLVED] Accessing data sent from done event in a ajax request?

[SOLVED] Accessing data sent from done event in a ajax request?

Hi,
imagine you have the next ajax call:
  1.  $.ajax({
                        type:'POST',
                        async:false,
                        url:'../../NectarUI/Functions/updatvalii.php',
                        data: {ala:idal,lat:$('#ubilat').html(),lon:$('#ubilon').html(),calle:$('#ubicalle').html(),numero:$('#ubipiso').html(),ciudad:$('#ubiprovi').html(),pais:$('#ubipais').html(),ag:$('#codagente').attr('name'), piso: $("#editPiso").val()}

                    }).done(function(res, st, xhr) {
                        console.log(res);
                        llenaDescGeneral('descgencp', '');
                    }).fail(function(xhr, st, err) {
                        console.log(xhr);
                    });
The question is: I'd loke to get the data json string that I've sent to the ajax request but in the done or the fail callbacks. Is this possible? Or I must to declare it outside the ajax function?
 Many thanks!

Dani