Create training
documentedSchedule a new training.
POST /organizers/{organizerKey}/trainingsTrainingsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.getgo.com/G2T/rest/v1/organizers/{{$organizerKey}}/trainings" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$title}}", "description": "{{$description}}", "timeZone": "{{$timeZone}}", "times": [{"startDate": "{{$startDate}}", "endDate": "{{$endDate}}"}], "registrationSettings": {"disableConfirmationEmail": {{$disableConfirmationEmail}}, "disableWebRegistration": {{$disableWebRegistration}}}, "organizers": ["{{$organizerKey}}"]}'"