Hey Guys,
We are having problems setting a due date on a Topic with Valence. The other fields in the same api call are getting updated without any issues. I have a demo of a topic get and post in the bottom. As you can see the Start Date and End Date get updated. But the Due Date remains null after we get the topic on the second pull after the Put.
I summarized our actions to get a clearer understanding of the issue we are experiencing.
We are doing 3 apis Calls. Get Topic, Update Topic then another get Topic to test if the update was successful.
GET TOPIC 729
/d2l/api/le/1.4/6622/content/topics/729
Return JSON
{"DueDate":null,"TopicType":1,"Url":"/content/enforced/6622-BUS3052014/Content/page_4752.html","StartDate":null,"EndDate":null,"IsHidden":false,"IsLocked":false,"Id":729,"Title":"1. Read This First","ShortTitle":"","Type":1}
MODIFY Topic 729
/d2l/api/le/1.4/6622/content/topics/729
Request JSON
{"TopicType":1,"Url":"/content/enforced/6622-BUS3052014/Content/page_4752.html","StartDate":"2014-04-20T13:15:30.067Z","EndDate":"2014-08-20T13:15:30.067Z","DueDate":"2014-05-20T13:15:30.067Z","IsHidden":false,"IsLocked":false,"Title":"1. Read This First","ShortTitle":"","Type":1}
Return code 200 Ok
GET Topic 729 After the Modify Topic
/d2l/api/le/1.4/6622/content/topics/729
Return JSON
{"DueDate":null,"TopicType":1,"Url":"/content/enforced/6622-BUS3052014/Content/page_4752.html","StartDate":"2014-04-20T13:15:30.067Z","EndDate":"2014-08-20T13:15:30.067Z","IsHidden":false,"IsLocked":false,"Id":729,"Title":"1. Read This First","ShortTitle":"","Type":1}
As you can see the End Dates and Start Date was updated correctly but the Due Date stays null.
Thanks
Luc
Product Name | Version |
---|---|
Integration and Middleware Platform | 1.5.1 SP1 |
IP Authentication Solutions | 1.2.1 |
Learning Environment | 10.3.0 SP6 |
Learning Platform | 5.3.0 SP6 |
Reporting | 4.4.5 |