CreateTrainingEventBatchRequest
A request or response body; the type column links to the schemas it refers to.
CreateTrainingEventBatchRequest
| Field | Type | Required | Description |
|---|---|---|---|
| org | string | yes | Organization UUID id or slug the event belongs to. at least 1 character |
| department | string | no | UUID id or slug of the owning department within the organization; omit for an event owned by the organization directly. at least 1 character |
| title | string | yes | 1–200 characters |
| description_markdown | string | no | Omit or send empty for no description. at most 50000 characters |
| meeting_url | string (uri) | no | Video meeting link, for remote or hybrid sessions. at most 2000 characters |
| location | string | no | Free-text venue, for in-person sessions. 1–500 characters |
| credit_hours | number | no | Hours an attendance credits toward subject-hours rules. Omit to credit the event's wall-clock duration instead. maximum 10000 |
| subject_matter_ids | array of string (uuid) | no | Subjects the event (and every attendance record it produces) is filed under. Subjects of the event's own organization only. at most 50 items |
| windows | array of TrainingEventWindow | yes | One event is created per window, all sharing the fields above. A client scheduling weekly slots expands them into windows before sending. 1–200 items |
| trainer_user_ids | array of string (uuid) | no | `users.id` of members of the organization to schedule as trainers of every event in the series. at most 50 items |
| participant_user_ids | array of string (uuid) | no | `users.id` of members of the organization to put on every event's roster as `registered`. at most 200 items |
{
"org": "acme-corporation",
"department": "string",
"title": "string",
"description_markdown": "string",
"meeting_url": "https://meet.example.com/abc-defg-hij",
"location": "Simulator bay 2, Building C",
"credit_hours": 8,
"subject_matter_ids": [
"1b671a64-40d5-491e-99b0-da01ff1f3341"
],
"windows": [
{
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2026-01-01T00:00:00.000Z"
}
],
"trainer_user_ids": [
"1b671a64-40d5-491e-99b0-da01ff1f3341"
],
"participant_user_ids": [
"1b671a64-40d5-491e-99b0-da01ff1f3341"
]
}