[API] Character Id from Guid

The API gives me guids for each of the characters, for instance for myself, Senius, my guid is 106247522. However I need to access that character’s page https://www.warcraftlogs.com/rankings/character/5610495/latest/.

How do I go from 106247522 -> 5610495 ?

Edit: Actually the real question would be: How do I use the API call for Parses “/parses/character/{characterName}/{serverName}/{serverRegion}” via only the information in a report.