/
Updating Enrollment Group courses via web service

Updating Enrollment Group courses via web service

Using the EthosCE Web Services feature, users have the ability to update enrollment group course lists via a PUT update call.

Warning!

The list sent in field_enrollment_group_courses, is a complete update of values, it is not additive. For instance, given an enrollment group with 6 courses associated, node ids 101 - 106, if an update is made containing only 3 values, node ids 201 - 203, only the 3 newly sent courses will appear under Activities. The original 6 courses will no longer be associated with the Enrollment group, however, they will remain in the system, with all associated learner data.

 

The payload below will update the the enrollment  group course list for adding courses nids 4, 5, and 6.

Updating courses in an enrollment group

{ "field_enrollment_group_courses": [ { "id": 4 }, { "id": 5 }, { "id": 6 } ] }



 

Related content

Creating and Updating faculty relationships via web service
Creating and Updating faculty relationships via web service
More like this
Web Service Endpoints
Web Service Endpoints
Read with this
Creating and updating a course via webservice
Creating and updating a course via webservice
More like this
User Data - Web Service Data Structures
User Data - Web Service Data Structures
Read with this
Manipulation of course objects via web services
Manipulation of course objects via web services
More like this
Creating a user via web service
Creating a user via web service
Read with this