Itβs always good for me to check the generated HTML page, just look for hidden input.
Also you are trying to pass schedulingProfileId to your AJAX call, I think it should be:
$.ajax({
url: rootUrl + 'SchedulingProfile/SaveDetails',
type: "POST",
data: ({
schedulingProfileId: id,
});
source
share