POST /trainees/{trainee_id}/withdraw
Withdraw a trainee.
Request
POST /api/v2025.0/trainees/{trainee_id}/withdraw
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| trainee_id | path | string | true | The unique ID of the trainee |
Request body
Withdraw details
triggerstring, required
The party who initiated the withdrawal. Must be either provider or trainee.
Example: provider
future_intereststring, required
Whether the trainee would be interested in resuming training in the future. Must be either yes, no or unknown.
Example: no
withdraw_datestring, required
The date that the trainee is withdrawing from the course.
Example: 2025-02-03
reasonsarray, required
The reason(s) for the withdrawal. Valid values with trigger trainee are unacceptable_behaviour, did_not_make_progress, lack_of_progress_during_placements, trainee_workload_issues, not_meeting_qts_standards, change_in_personal_or_health_circumstances, does_not_want_to_become_a_teacher, never_intended_to_obtain_qts, moved_to_different_itt_course, trainee_chose_to_withdraw_another_reason. Valid values with trigger provider are record_added_in_error, mandatory_reasons, stopped_responding_to_messages, unacceptable_behaviour, lack_of_progress_during_placements, did_not_make_progress, not_meeting_qts_standards, had_to_withdraw_trainee_another_reason.
Example: [`unacceptable_behaviour`]
another_reasonstring, conditional
The reason a trainee withdrew if the other values do not sufficiently describe why the trainee withdrew. Required if reasons include trainee_chose_to_withdraw_another_reason or had_to_withdraw_trainee_another_reason.
Example: Bespoke reason
Example request body
{
"data": {
"trigger": "provider,
"future_interest": "no",
"withdraw_date": "2025-03-05",
"reasons": [
"unacceptable_behavior",
"had_to_withdraw_trainee_another_reason"
],
"another_reason": "Bespoke reason"
}
} Possible responses
HTTP 200 - A trainee
{
"data": {
"trainee_id": "vcGjpBCn987jJSqMQxjhdv9Y",
"provider_trainee_id": "abc1234",
"first_names": "Trainee",
"last_name": "TraineeUser644065",
"date_of_birth": "2000-01-01",
"created_at": "2023-10-20T14:54:47.374Z",
"updated_at": "2024-01-24T16:03:28.721Z",
"email": "trainee_644065@example.com",
"middle_names": null,
"training_route": "11",
"sex": "10",
"diversity_disclosure": "diversity_disclosed",
"ethnic_group": "black_ethnic_group",
"ethnic_background": "African",
"additional_ethnic_background": null,
"disability_disclosure": "no_disability",
"course_subject_one": "100425",
"itt_start_date": "2023-09-04",
"outcome_date": null,
"itt_end_date": "2023-10-17",
"trn": "6440650",
"submitted_for_trn_at": "2024-01-18T08:02:41.420Z",
"state": "deferred",
"withdraw_date": null,
"defer_date": "2023-10-17",
"defer_reason": null,
"recommended_for_award_at": null,
"trainee_start_date": "2023-09-04",
"reinstate_date": null,
"course_min_age": 5,
"course_max_age": 11,
"course_subject_two": null,
"course_subject_three": null,
"awarded_at": null,
"training_initiative": "009",
"applying_for_bursary": false,
"bursary_tier": null,
"study_mode": "01",
"ebacc": false,
"region": null,
"applying_for_scholarship": false,
"course_education_phase": "primary",
"applying_for_grant": false,
"course_uuid": null,
"lead_partner_not_applicable": false,
"employing_school_not_applicable": false,
"submission_ready": true,
"commencement_status": null,
"discarded_at": null,
"created_from_dttp": false,
"hesa_id": "87960005710008762",
"additional_dttp_data": null,
"created_from_hesa": false,
"hesa_updated_at": null
"record_source": "api",
"iqts_country": null,
"hesa_editable": true,
"withdrawal_future_interest": null,
"withdrawal_trigger": null,
"withdrawal_reasons": null,
"placement_detail": null,
"ukprn": "10000571",
"ethnicity": "120",
"course_qualification": "QTS",
"course_title": null,
"course_level": "undergrad",
"course_itt_start_date": "2022-09-01",
"course_age_range": null,
"expected_end_date": "2023-07-01",
"employing_school_urn": null,
"lead_partner_ukprn": null,
"lead_partner_urn": null,
"fund_code": "7",
"bursary_level": "4",
"course_year": "2",
"funding_method": "4",
"itt_aim": "201",
"itt_qualification_aim": "004",
"ni_number": null,
"previous_last_name": null,
"hesa_disabilities": null,
"additional_training_initiative": null,
"placements": [
{
"placement_id": "AXsRAS4LfwZZXvSX7aAfNUb4",
"urn": "123456",
"name": "Meadow Creek School",
"address": "URN 123456, AB1 2CD",
"postcode": "AB1 2CD",
"created_at": "2024-01-18T08:02:42.672Z",
"updated_at": "2024-01-18T08:02:42.672Z"
}
],
"degrees": [
{
"degree_id": "E1phsAcP3hDFMhx19qVGhchR",
"uk_degree": "083",
"non_uk_degree": null,
"created_at": "2024-01-18T08:02:41.955Z",
"updated_at": "2024-01-18T08:02:41.955Z",
"subject": "100425",
"institution": "0116",
"graduation_year": 2022,
"grade": "02",
"country": null,
"other_grade": null,
"institution_uuid": "0271f34a-2887-e711-80d8-005056ac45bb",
"uk_degree_uuid": "db695652-c197-e711-80d8-005056ac45bb",
"subject_uuid": "bf8170f0-5dce-e911-a985-000d3ab79618",
"grade_uuid": "e2fe18d4-8655-47cf-ab1a-8c3e0b0f078f"
}
]
}
} HTTP 401 - Unauthorized
{
"error": "Unauthorized"
} HTTP 404 - Not found
{
"errors": [
{
"error": "NotFound",
"message": "Trainee(s) not found"
}
]
} HTTP 422 - Unprocessable Entity
{
"errors": [
{
"error": "UnprocessableEntity",
"message": "Withdraw date Choose a withdrawal date"
}
]
}