eTrainu - Retrieve Course List

eTrainu - Retrieve Course List

https://documenter.getpostman.com/view/1690214/Tzz5ue8i#38764d8b-7dc8-4ca7-9e1a-b65179fccb02

Creates Training_Course__c Records in Salesforce via a scheduled apex service which runs each night.


SAMPLE REQUEST

curl --location 'https://api.etrainu.com/lms/v2/courses' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'TOKEN: 1F9324FC-1A9E-44EA-A698-0EBB2A61F3AC'

SAMPLE RESPONSE

{ "categories": [ { "id": "8D3AD5EA-98F1-435D-A93A-4B91F6DE4151", "courses": [ { "cpdPoints": 6, "externalSystemProperties": [ { "value": true, "name": "eventEnrolmentLimit" } ], "isAssessorAppCourse": false, "id": "C06ACB55-E6F4-446A-A26B-212EE48D3B6D", "internalName": "COVID-19: What It Is, How to Prevent Spread", "detailsUrl": "", "name": "COVID-19: What It Is, How to Prevent Spread", "courseCode": "" } ], "name": "COVID-19 (Coronavirus): What It Is, How to Prevent Spread" } ] }

MAPPING

To object Training_Course__c.

ETRAINU

SALESFORCE

NOTES

ETRAINU

SALESFORCE

NOTES

name

Name

 

courseCode

Course_Code__c

 

detailsUrl

Details_URL__c

 

id

External_ID__c

Match existing records.