✒ī¸Updating Participants

This step shows how to update participants in a Perculus session.

There are two ways to update participant details for a session:

With ATTENDANCE_CODE

You need the SESSION_ID of the session and the ATTENDANCE_CODE, which is the participant ID of the user, to update the participant in a session.

Available parameters:

ParametersTypeDescription

name

string

surname

string

email

string

role

string

a=Admin u=User e=Instructor

mobile

string

avatar

string

Example Payload:

curl --location --request PUT 'https://<DOMAIN>/xapi/session/<SESSION_ID>/attendee/<ATTENDANCE_CODE>' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
    "name": "test",
    "surname": "surname"
    "role": "u"
}'

With EMAIL

You need the SESSION_ID of the session and the EMAIL, which is the email of the user, to update the participant in a session.

Available parameters:

ParametersTypeDescription

name

string

surname

string

email

string

role

string

a=Admin u=User e=Instructor

mobile

string

avatar

string

Example payload:

curl --location --request PUT 'https://<DOMAIN>/xapi/session/<SESSION_ID>/attendee/<EMAIL>' \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
    "name": "test",
    "surname": "surname"
    "role": "u"
}'

Last updated