Use recordid instead of recordname in a few more API calls

[#82254956]