Skip to main content
PUT
/
session-attendances
/
update
/
{session_attendance_id}
Update Session Attendance
curl --request PUT \
  --url https://api.swoogo.com/api/v1/session-attendances/update/{session_attendance_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'waiting_room_date=2022-06-26 14:30:00' \
  --data 'check_in_date=2022-06-26 14:30:00' \
  --data 'check_out_date=2022-06-26 14:30:00' \
  --data 'on_demand_date=2022-06-26 14:30:00'
{
  "id": 789,
  "session_id": "123",
  "registrant_id": "456",
  "waiting_room_date": "2022-06-26 14:25:00",
  "check_in_date": "2022-06-26 15:30:00",
  "check_out_date": "2022-06-26 16:30:00",
  "duration": "60",
  "on_demand_date": "2022-06-27 10:00:00"
}

Authorizations

Authorization
string
header
required

OAuth 2.0 bearer token obtained from POST /oauth2/token. Tokens expire after 30 minutes. Include in the Authorization header as Bearer {access_token}.

Path Parameters

session_attendance_id
integer
required

integer - required - The ID of the object you want to update

Example:

1

Body

waiting_room_date
string
Example:

"2022-06-26 14:30:00"

check_in_date
string
Example:

"2022-06-26 14:30:00"

check_out_date
string
Example:

"2022-06-26 14:30:00"

on_demand_date
string
Example:

"2022-06-26 14:30:00"

Response

Session Attendance updated successfully

id
integer
Example:

789

session_id
string
Example:

"123"

registrant_id
string
Example:

"456"

waiting_room_date
string
Example:

"2022-06-26 14:25:00"

check_in_date
string
Example:

"2022-06-26 15:30:00"

check_out_date
string
Example:

"2022-06-26 16:30:00"

duration
string
Example:

"60"

on_demand_date
string
Example:

"2022-06-27 10:00:00"