PUT /v1/drop-ins/{id}

Update Drop In

Path parameters

  • id string Required

    DropIn id

application/json

Body

Request for updating a drop-in booking

  • courseId string Required

    Course ID

  • studentId string Required

    Student ID

  • dropInDate string(date) Required

    Drop-in date

  • dropInTime string(time) Required

    Drop-in time

Responses

  • 200 application/json

    successful operation

    Hide response attributes Show response attributes object
    • id string Required

      Drop-in ID

    • companyId string Required

      Company ID

    • courseId string Required

      Course ID

    • studentId string Required

      Student ID

    • dropInDate string(date) Required

      Drop-in date

    • dropInTime string(time) Required

      Drop-in time

  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

  • 404 application/json

    Not found

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

PUT /v1/drop-ins/{id}
curl \
 --request PUT 'https://localhost/v1/drop-ins/dpi_xxxxxxxx' \
 --header "Content-Type: application/json" \
 --data '{"courseId":"cls_abc123","studentId":"std_def456","dropInDate":"2025-01-15","dropInTime":"10:00:00"}'
Request examples
{
  "courseId": "cls_abc123",
  "studentId": "std_def456",
  "dropInDate": "2025-01-15",
  "dropInTime": "10:00:00"
}
Response examples (200)
{
  "id": "dpi_xxxxxxxx",
  "companyId": "co_xxxxxxxx",
  "courseId": "cls_xxxxxxxx",
  "studentId": "stu_xxxxxxxx",
  "dropInDate": "2023-12-05",
  "dropInTime": "23:15"
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}
Response examples (404)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}