Symptom
Admin would like to retrieve segments information of the class through the API /learning/odatav4/public/admin/scheduledoffering-service/v1/Segments. However, an error happens:
{
"error": {
"code": null,
"message": "The property 'criteria', used in a query expression, is not defined in type 'com.sap.lms.odata.Segment'."
}
}
Environment
SAP SuccessFactors Learning
Resolution
As per confirmation from Product Management, we currently don't have an API to retrieve the class segment details.
Alternatively, to suggest a different system behavior, it would be possible to have an enhancement request created for it (as per KBA 2090228), where the Learning Product Management team can further review and assess the requested functionality to be considered in a future release. You can also check the possibility of a custom solution, by engaging your Partner or SAP Professional Services (KBA 2149831).
See Also
- KBA 2090228 - How to submit enhancement ideas for SAP SuccessFactors Product
- KBA 2149831 - SAP Professional Services / SAP Certified Partner / SAP Account Management Team [SuccessFactors Cloud]
- SAP Help Portal | SAP SuccessFactors Learning APIs and Microservices Overview
- KBA 2446471 - SAP SuccessFactors Learning OData Webservices - User Assistance Documentation link
Keywords
lms, sf, sfsf, api, odata, segment, slot, class, schedule, offering, error, The property 'criteria', used in a query expression, is not defined in type 'com.sap.lms.odata.Segment', com.sap.lms.odata.Segment , KBA , LOD-SF-LMS-ODA , Web Services OData , Problem
SAP Knowledge Base Article - Public