Saltar al contenido
Centro de ayuda
Productos

Referencia de la API

GET /integration/v1/users/{user_id}/calendar

Get calendar events for a user

Get calendar events for a user

operationId Get calendar events for a user

Parámetros de ruta

Nombre Tipo Obligatorio Descripción
user_id string (uuid) obligatorio User id

Parámetros de consulta

Nombre Tipo Obligatorio Descripción
date_start string (date) opcional Start date (YYYY-MM-DD)
date_end string (date) opcional End date (YYYY-MM-DD)
lang string opcional Language code
event_type string opcional Event type
enum: ``, `online`, `online_zoom`, `offline`
event_status string opcional Event status
enum: ``, `registration_not_started`, `registration`, `registration_closed`, `started`, `finished`
student_status string opcional Student status
enum: ``, `review`, `approved`, `rejected`, `canceled_by_user`, `attended`, …
access_type string opcional Access type filter (access_opens_date, access_closes_date, pass_due_date)
enum: ``, `access_opens_date`, `access_closes_date`, `pass_due_date`

Respuestas

200

Cuerpo de application/json

Campo Tipo Obligatorio Descripción
assignments array obligatorio
entity_type string obligatorio
enum: `course`, `learning_path`, `skill_path`, `course_list`
event_type string obligatorio
enum: `access_opens_date`, `access_closes_date`, `pass_due_date`
date string (date-time) obligatorio
title string obligatorio
id string obligatorio
entity_data object opcional
events array obligatorio
event_id string (uuid) obligatorio Event GUID
course_id string obligatorio Course GUID
ceid integer obligatorio Content enumeration ID
course_title string obligatorio Course title
event_title string opcional Event title
event_description string opcional Event description
terms_of_use string opcional Terms of use
date_start string (date-time) obligatorio Event start date
reg_date_start string (date-time) obligatorio Event registration start date
reg_date_end string (date-time) obligatorio Event registration end date
type string obligatorio
enum: `online`, `online_zoom`, `offline`
is_certificate boolean opcional Flag, defines if this event creates certificate or not
is_webinar_published boolean opcional Flag, defines if webinar was published
is_terms_of_use_enabled boolean opcional Flag, defines if "Terms of Use" enabled
teacher string opcional Teacher name
capacity integer obligatorio Event capacity
capacity_min integer obligatorio Event minimal capacity
duration integer obligatorio Event duration
event_status string opcional Event status
enum: `registration_not_started`, `registration`, `registration_closed`, `started`, `finished`
remaining integer obligatorio Remaining number of sits for this event
student_capacity integer opcional LMS-3092: seats of the requesting student's capacity bucket; null when the event has no capacity rules
student_remaining integer opcional LMS-3092: remaining seats of the requesting student's capacity bucket; null when the event has no capacity rules
student_status string opcional Event student status
enum: `review`, `approved`, `rejected`, `canceled_by_user`, `attended`, `missed`, …
date_review string (date-time) obligatorio Date, when event was reviewed
date_checked string (date-time) obligatorio Date, when event was checked
is_justification_required boolean opcional Is justification required flag
final_justification_status string opcional
enum: `approved`, `rejected`, `review`
justification_comment string opcional Student justification comment
justification_file string opcional Student justification file url
justification_file_name string opcional Student justification origin file name
justification_date string (date-time) opcional Student justification date
justification_id string (uuid) opcional Student justification id
justification_review_comment string opcional Student justification review comment
justification_review_date string (date-time) opcional Student justification review date
approvers array obligatorio List of course event approvers
event_approver_id string (uuid) obligatorio Event approver id
admin_id string (uuid) opcional Admin id
approver_type string obligatorio Approver type
enum: `line_manager`, `specific_approver`
approver_api_user_id string (uuid) opcional Approver api user id
it_is_me boolean opcional It is me flag
order integer obligatorio Approver order
full_name string obligatorio Approver full name
decision_date string (date-time) opcional Decision date
email string opcional Approver email
comment string opcional Comment
status string opcional Approver status
enum: `approved`, `rejected`, `review`, `rejected`, `approved`
feedback_required boolean opcional Whether feedback is required for this class course
has_submitted_feedback boolean opcional Whether the student has already submitted feedback for this course
student_rating integer opcional FB-542: the student's own 1-5 star rating of this event, null when not rated
rating_submitted_at string opcional FB-542: when the rating was last submitted/updated (UTC), null when not rated
rating_eligible boolean opcional FB-542: whether the student may rate this event (registered + attended + event ended)
date_end string (date-time) opcional LMS-3089: event end date (last training day end for multi-day events)
is_multi_day boolean opcional LMS-3089: event spans multiple training days
days object opcional LMS-3089: training-day schedule (empty for single-day events)

412 Invalid parameters

500 Server error

512 Specification violations