AnsweredAssumed Answered

Problems Creating A Course With API

Question asked by Andrew Day on Jun 6, 2016
Latest reply on Jun 6, 2016 by Matt Hanes

Post URL: /api/v1/accounts/1/courses


I am trying to create a new course using the API and every time  is creates a course with none of my values filled in and gives it a name of 'Unnamed Course' I have tried stripping the payload down so i am basically only posting the name but still no luck.


Here are the two payloads I have tried:


#1. "{\"account_id\":1,\"course\":{\"id\":0,\"name\":\"AD Name\"}}"

#2. "{\"id\":0,\"name\":\"AD Name\"}"


I am not sure what i am doing wrong. Any help would be great.