I am currently opening xAPI content in our own LMS. We do not use a LRS but store statements in our own database. This will change soon as we want to build our own LRS.
When opening content, I build a string comprising the content, endpoint auth token and actor.
This will always open the content at the beginning.
If I connect to a LRS, the content is opened at the last bookmarked slide, and shows the percentage of progression.
On looking at calls made in Fiddler I can see 3 main calls being made to the LRS where the state_Id passed in is suspend_data, cumulative_time or bookmark.
Bookmark returns the Id of the last slide, and suspend data returns a load of numbers in json format.
My issue is that I can easily get the last slide Id from my database, but I cannot get the percentage or set the completed items in the package as complete (with the tick). I'm guessing the returned values from suspend_data may have something to do with setting these.
Can anyone advise on what I should be doing to open the content properly at it's bookmark?