training_id + member_id pair already exists, it is updated; otherwise, it is createdtraining_id + member_id ペアが既存なら更新、なければ作成application_format (FCFS vs LOTTERY)application_format が FCFS/LOTTERY で処理が異なるtraining_id + member_id pairs are not allowed / training_id + member_id ペアの重複不可team_id and applied_by (team leader) are required / TEAM 申込時は team_id, applied_by (チームリーダー) が必須payment_type=TEAM and team_priority (positive integer, unique within team) are required /payment_type=TEAM, team_priority (正の整数、チーム内ユニーク) が必須"OK" (HTTP 200)abort_on_error is always false via API)abort_on_error は API 経由では常に false)curl --location --request PUT '/trainings/applicants' \
--header 'api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"applications": [
{
"training_id": 0,
"member_id": 0,
"type": "INDIVIDUAL",
"id": 0,
"team_id": "string",
"applied_by": 0,
"payment_type": "INDIVIDUAL",
"team_priority": 0,
"status": "APPLIED",
"application_form_response_data": {},
"application_form_response_data_manager": {}
}
]
}'"OK"