Skip to main content

Hi,

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
}
}

Thanks,

Liza

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.


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


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. 


Reply