I've read this and your other post several times and I'm not sure what you're talking about. You might want to give some background. My understanding is that an 'LRS' implies some service external to Moodle so we're probably going to need to know what this is and what you are trying to do.
Installing and upgrading help
Emit record to LRS
This discussion has been locked so you can no longer reply to it.