I'm trying to follow links in a OneNote page to get the content of the linked page via the OneNote API. The HTML link looks like this: (removed some text)
onenote:..\Partners\Cloud.one#Integrated%20Asset%20Manager%20(IAM)§ion-id={DEDAE503-E375-49F2-B93D-F38B4121C70C}&page-id={7BF5121A-0B6C-4B08-9EAE-8FF2030257EE}&end&base-path={full-path-here}
Trying to do OneNoteApplication.GetPageContent with the linked page-id throws an error for page not found. If I do a GetHierarchy the ID's for the page look very different:
{A98F0819-709E-016D-37A3-45218AD83E06}{1}{E19545547677840986606520149590302900659675241}
Has anyone found a way to convert between the different types of IDs or to use the HTML style ID to navigate within the API?