Load Redwood self-paced learning: REST API Errors
Summary:
When loading Redwood Self-Pace learning we're getting the following error we have not been able to resolve.
We'd really appreciate help on this.
Content (please ensure you mask any confidential information):
https://{{fusion}}/hcmRestApi/resources/11.13.18.05/learningSelfPacedItems
{"learningItemNumber": "ASWELI0001",
"learningItemTitle": "Elearning test 0001",
"learningItemType": "ORA_COURSE",
"learningItemStatus": "ORA_ACTIVE",
"learningItemVisibility": "PUBLIC",
"learningItemSupportedLanguages": "en",
"learningItemActiveDate": "2015-01-01T00:00:00+00:00",
"learningItemEnrollmentStartDate": "2015-01-01T00:00:00+00:00",
"content": [
{
"sourceLaunchURL": "https://www.aswatson.com/"
}]
}
ERROR MESSAGE
{
"title": "Bad Request",
"status": "400",
"o:errorDetails": [
{
"title": "Invalid/missing sourceTypeId or sourceTypeNumber"
}
]
}
The payload worked OK on another customer test environment loaded several items.
Also, we've reviewed the post and documentation:
https://community.oracle.com/customerconnect/discussion/882234/bulk-creating-self-paced-learning-items