Aller au contenu principal

Update LessonSession

PUT$BEEDEEZ_API/v1/lesson-session/{ID}

Update LessonSession

Update a LessonSession with the given parameters

Path Parameters
ID string — REQUIRED
Request Body — REQUIRED
codes object[]
type string

Possible values: [qr, barcode, access]

value string
onsite boolean
hasLive boolean
isSignedSession boolean
isAttendanceSession boolean
startDate string
endDate string
location object
room string
name string
registrationsPeriod object
startDate date-time
endDate date-time
quota object
type string — REQUIRED

Possible values: [none, max, min, min-max]

min double
max double
registrationGroupType string

Possible values: [unlimited, one-per-lesson]

type string

Possible values: [fixed-date, open]

status string

Possible values: [draft, online, cancelled, deleted]

presenters string[]
lessonId string
description string
title string
Responses
200

Ok

Schema — OPTIONAL
isLive boolean
quotas object
type string

Possible values: [none, max, min, min-max]

min double — OPTIONAL
max double — OPTIONAL
status string

Possible values: [draft, online, cancelled, deleted]

endDate date-time
startDate date-time
creationDate date-time
presenters string[]
codes object[]
type string — OPTIONAL

Possible values: [qr, barcode, access]

value string — OPTIONAL
location object
lang string — OPTIONAL
name string — OPTIONAL
name_i18n object[] — OPTIONAL
lang string — OPTIONAL
value string — OPTIONAL
room string — OPTIONAL
description string — OPTIONAL
description_i18n object[] — OPTIONAL
lang string — OPTIONAL
value string — OPTIONAL
address string — OPTIONAL
onSite boolean
creatorId string
lessonId string
registrations object[]
status string

Possible values: [waiting-list, pending-validation, approved, rejected, cancelled]

signatureDate date-time
attendance string — OPTIONAL

Possible values: [attended, absent, none]

registrationDate date-time — OPTIONAL
userId string
description string
title string
guid string
id string
400

Invalid payload

Schema — OPTIONAL
statusCode double
kind string
message string
404

Lesson Session not found

Schema — OPTIONAL
statusCode double
kind string
message string

Autorisation

AuthorizationAccess token de type Bearerscope adminComment l’obtenir

Paramètres de chemin

IDstringobligatoire

Corps de la requête

object
codesobject[]facultatif
typestringfacultatif
qrbarcodeaccess
valuestringfacultatif
onsitebooleanfacultatif
hasLivebooleanfacultatif
isSignedSessionbooleanfacultatif
isAttendanceSessionbooleanfacultatif
startDatestringfacultatif
endDatestringfacultatif
locationobjectfacultatif
roomstringfacultatif
namestringfacultatif
registrationsPeriodobjectfacultatif
startDatedate-timefacultatif
endDatedate-timefacultatif
quotaobjectfacultatif
typestringobligatoire
nonemaxminmin-max
mindoublefacultatif
maxdoublefacultatif
registrationGroupTypestringfacultatif
unlimitedone-per-lesson
typestringfacultatif
fixed-dateopen
statusstringfacultatif
draftonlinecancelleddeleted
presentersstring[]facultatif
lessonIdstringfacultatif
descriptionstringfacultatif
titlestringfacultatif

Réponse

200 OKobject
isLiveboolean
quotasobject
typestring
nonemaxminmin-max
mindouble
maxdouble
statusstring
draftonlinecancelleddeleted
endDatedate-time
startDatedate-time
creationDatedate-time
presentersstring[]
codesobject[]
typestring
qrbarcodeaccess
valuestring
locationobject
langstring
namestring
name_i18nobject[]
langstring
valuestring
roomstring
descriptionstring
description_i18nobject[]
langstring
valuestring
addressstring
onSiteboolean
creatorIdstring
lessonIdstring
registrationsobject[]
statusstring
waiting-listpending-validationapprovedrejectedcancelled
signatureDatedate-time
attendancestring
attendedabsentnone
registrationDatedate-time
userIdstring
descriptionstring
titlestring
guidstring
idstring

Erreurs

400Invalid payload
404Lesson Session not found
Bloqué sur une intégration ?
Écrivez à l’équipe développeurs avec votre ID de requête, on vous répond vite.