[ARCHIVED] Add Assignment via API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2020
03:22 PM
I am trying to add an assignment to an existing course through the Canvas API but I am getting the following message.
{
"errors": [
{
"message": "assignment is missing"
}
]
}
Here's the URL: https://___/api/v1/courses/12345/assignments/?access_token=XXXX.
I am doing a POST with the following payload:
{"assignment[name]": "Erik Test", "assignment[description]": "TEST"}.
Any guidance would be much appreciated!
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.