Get all training assignments for a user
| Name | Type | Required | Optional | Searchable | Note |
|---|---|---|---|---|---|
| userid | numeric | REQUIRED, Passed via URI |
http://devsandbox.targetsolutions.com/v1/users/{userid}/trainingassignments
GET /users/{userid}/trainingassignments HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: KqkTPjYcIR0ftzM0wr+YuA==
Cache-Control: no-cache
{
"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"
}
]
}
{
"httpcode":200,
"moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/901",
"developermessage":"The request returned zero results.",
"statuscode":901,
"status":"ok"
}
{
"httpcode":401,
"moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/800",
"developermessage":"A request was made to a resource that you do not have ownership of.",
"statuscode":800,
"status":"access denied"
}