Best Answer

Batch import of ILT Sessions and Dates

  • 29 September 2022
  • 3 replies

Userlevel 2


On Docebo UI, I can add Event as Video Conference Tool with URL. Is there API 

POST/learn/v1/ilt/session/batch doing same thing? Per the payload, which json property to put the value of Event Type and URL?

"items": [
"course_id": 0,
"course_code": "string",
"session_id": 0,
"session_code": "string",
"session_name": "string",
"session_maximum_enrollments": 0,
"session_minimum_enrollments": 0,
"session_last_subscription_date": "2022-09-29",
"session_other_info": "string",
"completion_type": "string",
"score_base": 0,
"date_name": "string",
"date": "2022-09-29",
"timezone": "string",
"time_start": "string",
"time_end": "string",
"break_start": "string",
"break_end": "string",
"location_name": "string",
"location_address": "string",
"location_country": "string",
"classroom_name": "string",
"effective_duration": 0
"options": {
"update_session_info": true




Best answer by Bfarkas 29 September 2022, 21:49

View original

3 replies

Userlevel 7
Badge +3

I’m not aware of a bulk/batch endpoint for events, just sessions although I think that one is going away too, tend to stay in the courses area of services for these, there is a lot of old setups getting transitioned out.

POST - /course/v1/sessions/{session_id}/events

The above is the event endpoint, calls for the session ID, there is a duplicate end point for ease: POST -  /course/v1/events/{event_id}/duplicate

The Session I would use is: POST - /course/v1/courses/{course_id}/sessions

The bodies are explained in each of those if you look them up in your API Browser.

Userlevel 2

The POST - /course/v1/sessions/{session_id}/events does all. Thanks!

Userlevel 7
Badge +3

Great, you want to live in that area of the browser, there’s a lot of other things that are tangentially related but are either gone or phased out as you ran into. These are the current official/supported versions and support all the features.