course-credit-registrations

POST `/api/v0/main-frontend/course-credit-registrations/courses/{course_id}/resend-linking-email` - Sets off another account-linking mail for one person on this course. The target has to be on this course's roster in the study registry and hold no link with us. The caps of the ordinary claim path apply and nothing here relaxes them.

Changed on
post/api/v0/main-frontend/course-credit-registrations/courses/{course_id}/resend-linking-email

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

course_idstring uuid required

Course id

Request body

reasonstring nullable
student_numberstring nullable
user_idstring uuid nullable

One of the two names the person; user_id only resolves for an account that has held a number.

Response

What the attempt did

mails_sent_for_this_courseinteger required
max_mails_per_person_and_courseinteger required
outcome'queued' | 'already_mailed_to_every_known_address' | 'refused_by_rate_cap' | 'no_address_in_study_registry' | 'not_on_the_course_roster' | 'already_linked' | 'study_registry_unavailable' | 'no_student_number_known' required

What a resend endpoint tells its caller. Shared wire shape for the teacher- and admin-facing resend endpoints; NoStudentNumberKnown is only ever emitted by the teacher endpoint, whose target may be an account that has never held a number.

Changes