Forum Discussion

AndreM's avatar
AndreM
New Member
6 months ago

GoTo Training API - COPY Training

We have a lot recources in our Trainings like PDF´s and so on, so we created "Template" Trainings, till now we just logged in and used the "create similar..." (/training/copy.tmpl?training=...
But now we want to automate this Step for our Staff, so that when they create a new Training Campaign in our Salesforce, the System should clone the referenced "Template" Training inc all resources.

New API Method copy / clone an existing Training

/organizers/:organizerKey/trainings/:trainingKey/clone

All Parameters should be the same like for the "create Training" but Optional and the System should then use the "Template" values
https://developer.goto.com/GoToTrainingV1/#tag/Trainings/operation/scheduleTraining

{
    "name": "Test",
    "timeZone": "Europe/Amsterdam",
    "times": [
        {
            "startDate": "2025-03-20T10:00:00Z",
            "endDate": "2025-03-20T22:00:00Z"
        }
    ],
    "description": "test",
    "registrationSettings": {
        "disableConfirmationEmail": true,
        "disableWebRegistration": true
    },
    "organizers": [
        "123456"
    ]
}

 

No RepliesBe the first to reply