Overview
Methods for returning information about courses the person is an instructor of. These APIs are called from the EA portlet.
Get All Courses Where I'm an Instructor
GET /ssp/api/1/person/{id}/instruction/course
Returns
{"success" : "true", "results" : "100", "rows" : [{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "International.", "id" : "6201b18d-9d1d-48d3-82d4-092e52ad676b", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "objectStatus" : "ACTIVE", "name" : "Earn a 2.0 Fall Term", "confidentialityLevel" : {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995", "name" : "EVERYONE"} }, {"createdById" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "createdDate" : "1332216000000", "description" : "Graduate", "id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995", "modifiedById" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "modifiedDate" : "1332216000000", "objectStatus" : "ACTIVE", "name" : "Graduate", "confidentialityLevel" : {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995", "name" : "EVERYONE"} }, ... ] }
Get the Course Roster for a Course I'm Instructing
GET /ssp/api/1/person/{id}/instruction/course/{id}/roster
Returns
List<Person>
{"createdBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "createdDate" : "1332216000000", "description" : "Naturalized Citizen.", "id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995", "modifiedBy" : {"id" : "91f46e39-cea8-422b-b215-00f6bcf5d280", "firstName" : "John", "lastName" : "Doe"}, "modifiedDate" : "1332216000000", "objectStatus" : "ACTIVE", "name" : "Earn a 2.0 Fall Term", "confidentialityLevel" : {"id" : "c57f11e1-7ef2-4989-9ac2-7b0690563995", "name" : "EVERYONE"} }