How to update course session via API

To update a course session via API you can use the PUT /odata/v2/Courses({id})/CourseSessions({courseSessionId}) endpoint. 

Please note that the PUT method updates the entire resource. It is used to set an entity’s information completely, so all the required parameters need to be specified:

mceclip1.png

Fill in the required fields: 

  • Course Id
  • Course Session Id 

In the body, insert the Course Session parameters. To get course session parameters you can use the GET ​/odata​/v2​/Courses({id})​/CourseSessions({courseSessionId}) endpoint.mceclip3.pngmceclip5.pngCheck the Response:

mceclip6.png

Was this article helpful?
0 out of 0 found this helpful

Comments

Article is closed for comments.