Setting objectives, requirements via REST-API

27 views
Skip to first unread message

Daniel Lebert

unread,
May 28, 2019, 7:31:42 AM5/28/19
to OpenOLAT
Hallo,

I am currently using the REST-API to create courses from an external source.
Currently there does not seem to be any way to set objectives and requirements when adding or updating courses.

Did I miss something, or would I have to change these fields in the database?

Best regards,

Daniel Lebert

Florian Gnaegi

unread,
May 28, 2019, 4:07:25 PM5/28/19
to open...@googlegroups.com
Hi Daniel

Unfortunately this is true a the moment. Why? Because nobody used it so far (and the objectives and requirement field have been added later on where the corresponding web service did already exist. 

Maybe we find some time and add it to the next release. 

Right now there is no way to do this via REST API, you need to extend the API or change it in the database (not recommended since this can lead to stale object problems).

Cheers
Florian

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOLAT".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOLAT - infinite learning - http://www.openolat.org

---
You received this message because you are subscribed to the Google Groups "OpenOLAT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/c0b6bbc5-d9d6-47ca-b08f-8b94e5e9a353%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--------------------------------------------------------------------
professional services for the e-learning system OpenOLAT
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Hardturmstrasse 76
CH-8005 Zürich, Switzerland


Find me on wire skype twitter xing linkedin 
--------------------------------------------------------------------

Stéphane Rossé

unread,
May 29, 2019, 4:20:09 AM5/29/19
to OpenOLAT
Hi

I enhance the PUT method repo/course?title=... with more parameters for metadata (objectives, requirements, credits and expenditureOfWork) for OpenOLAT 13.2.6. This method can I change without breaking some running clients. Hope it help.

Best regards
Stéphane Rossé
Reply all
Reply to author
Forward
0 new messages