function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bhavesh RekvarBhavesh Rekvar 

How to get Talent LMS user in Salesforce

I'm trying to how we can get talent LMS users in Salesforce using Apex code, but not getting any solution please let me know any solution to my question.

I have also tried below link but not getting the exact solution for it,so please provide me any solution for it.

https://help.talentlms.com/hc/en-us/articles/360014658613-How-to-integrate-Salesforce-and-TalentLMS

This link is not useful for me so please give me the best solution to this problem.

Below I have tried this code in saleforce (apex code)
public class Get_talentLMS_User {
    public static void RestServiceMethod(String sessionId){
    
     HttpRequest req = new HttpRequest();
     req.setEndpoint('https://ignatiuzardent.talentlms.com/D5ZgtG7uMIBhgrQBncL1MwStSHBUuT/v1/users');
     req.setMethod('GET'); 
     req.setHeader('Authorization', 'OAuth ' + sessionId);
     req.setHeader('Content-Type','application/json'); 
     req.setTimeout(120000);
     
      
     HttpResponse res = new HttpResponse();
     //res = http.send(req);
     
     system.debug(res);
     }
}

Please review the code if any error in the code so please update the code and let me know.