$.ajax({
method: "PUT",
url: api_url,
data: update_info ,
data: update_info,
headers: { "x-koha-override": "any" },
success: function( data ){ holdsTable.api().ajax.reload(); },
error: function( jqXHR, textStatus, errorThrown) {
alert('There was an error:'+textStatus+" "+errorThrown);
-