on 09-08-2023 4:18 PM
How do you create a ScheduledOffering for a componentID through the API? I've tried using a POST to /learning/odatav4/public/user/scheduledoffering-service/v1/ScheduledOfferings, but I receive a 303 response with a message "No operation executed, please check your data and service context".
Is there an example of creating a ScheduledOffering, creating segments, and assigning instructors?
It looks like you are trying to use the user-based API instead of the admin-based API as only admins can create classes not users. Use the documentation here: admin/scheduledoffering-service/v1 Metadata | SAP Help Portal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If I try using /learning/odatav4/public/admin/scheduledoffering-service/v1/ScheduledOfferings, I get a response "message": "Cannot find EntitySet, Singleton, ActionImport or FunctionImport with name 'ScheduledOfferings'."
Based on this knowledge article:
2630645 - scheduledoffering-service API call error - Cannot find EntitySet, Singleton, ActionImport ...
It says "The 'ScheduledOfferings' container is only available for user API calls."
The error message response is correct here as there is no container in that API documentation for ScheduledOfferings to be used in that admin version of the URL API call. You can use the metadata definitions to use this API or reference https://help.sap.com/docs/SAP_SUCCESSFACTORS_LEARNING/5aab9bef78fc4c4fa199c1f7aa142720/dec11bb395024...
SAP recommends engaging certified partners to help implement oData API for their expert knowledge in oData Standards and the nuances in the LMS as needed.
User | Count |
---|---|
6 | |
3 | |
3 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.