Planner Note Override

1245
Community Member

I am using the Canvas LMS API to make a request to /api/v1/planner_notes, which retrieves a paginated list of PlannerNote objects. 

// A planner note
{
  // The ID of the planner note
  "id": 234,
  // The title for a planner note
  "title": "Bring books tomorrow",
  // The description of the planner note
  "description": "I need to bring books tomorrow for my course on biology",
  // The id of the associated user creating the planner note
  "user_id": 1578941,
  // The current published state of the planner note
  "workflow_state": "active",
  // The course that the note is in relation too, if applicable
  "course_id": 1578941,
  // The datetime of when the planner note should show up on their planner
  "todo_date": "2017-05-09T10:12:00Z",
  // the type of the linked learning object
  "linked_object_type": "assignment",
  // the id of the linked learning object
  "linked_object_id": 131072,
  // the Canvas web URL of the linked learning object
  "linked_object_html_url": "https://canvas.example.com/courses/1578941/assignments/131072",
  // the API URL of the linked learning object
  "linked_object_url": "https://canvas.example.com/api/v1/courses/1578941/assignments/131072"
}

How would I be able to get the planner override for the Planner Note object so that I can determine if it is marked as completed? I tried making a request to /api/v1/planner/overrides/:id with the ID of the PlannerNote object, but it seems that the PlannerNote ID is not the same as the PlannableOverride ID.

0 Likes