I am trying to add the instructor to the vILT session or Event through the API and want to run a script for the whole year's Schedule.
Assign instructors to sessions or events:
/course/v1/instructors/add
And the request Body is :
{
"items":
{
"id": 0
}
],
"options": {
"instructors":
0
],
"type": "string",
"replace": true
}
}
What should i insert Here.
Also, i get this response.Attached]
Page 1 / 1
I see that you found the body sample in the API docs, but I’m wondering if you missed that, when you click on “BODY SCHEMA” underneath it, it explains all the fields in more detail:
Hope this helps.
Hi Ian ,
I have inserted this, as the request body. Just have a look.
I think the issue could well have been that you provided too much information about the instructor instead of just providing the ID itself as an integer within an array, per the body schema.