Get all training assignments for a course


Name Type Required Optional Searchable Note
siteid numeric REQUIRED, Passed via URI
courseid numeric REQUIRED, Passed via URI
userid numeric via search string
firstname string via search string
lastname string via search string
employeeid numeric via search string
transcriptid numeric via search string
courseid numeric via search string
coursename string via search string
coursetype string via search string
startdate datetime via search string
duedate datetime via search string
assignmentcreateddate datetime via search string
assignmentmethod string via search string
coursestatus numeric via search string
startdatestart datetime via search string
startdateend datetime via search string
duedatestart datetime via search string
duedateend datetime via search string
assignmentcreateddatestart datetime via search string
assignmentcreateddateend datetime via search string


Example Request{siteid}/course/{courseid}/trainingassignments

Example Request with Search String{siteid}/course/{courseid}/trainingassignments?q={"userid":"random userid","firstname":"random firstname","lastname":"random lastname","employeeid":"random employeeid","transcriptid":"random transcriptid","courseid":"random courseid","coursename":"random coursename","coursetype":"random coursetype","startdate":"random startdate","duedate":"random duedate","assignmentcreateddate":"random assignmentcreateddate","assignmentmethod":"random assignmentmethod","coursestatus":"random coursestatus","startdatestart":"random startdatestart","startdateend":"random startdateend","duedatestart":"random duedatestart","duedateend":"random duedateend","assignmentcreateddatestart":"random assignmentcreateddatestart","assignmentcreateddateend":"random assignmentcreateddateend"}

Example Header

GET /sites/{siteid}/course/{courseid}/trainingassignments HTTP/1.1
AccessToken: GIkuNTBe4kX2jC6mK1wyoQ==
Cache-Control: no-cache

Possible Results Sets

Results Set

  "trainingassignments": [
      "course_type": 1,
      	  "course_name": "A Course Name",
      	  "due_date": "June 12 2009 00:00:00",
      	  "start_time": "12:00 AM",
      	  "course_status": "active",
      	  "assignment_method": "Create New Assignment",
      	  "firstname": "Jon",
      	  "start_date": "June 08 2009 00:00:00",
      	  "due_time": "12:00 AM",
      	  "assignment_created_date": "June 08 2009 16:27:30",
      	  "courseid": 64257,
      	  "employeeid": 71353,
      	  "transcriptid": 13117211,
      	  "userid": 1132,
      	  "lastname": "Doe"	

No Results Set

  "developermessage":"The request returned zero results.",

Access Denied Set

  "developermessage":"A request was made to a resource that you do not have ownership of.",
  "status":"access denied"