Description

Get specific training assignment

Parameters

Name Type Required Optional Searchable Note
transcriptid numeric REQUIRED, Passed via URI

Examples

Example Request

http://devsandbox.targetsolutions.com/v1/trainingassignments/{transcriptid}

Example Header

GET /trainingassignments/{transcriptid} HTTP/1.1
Host: http://devsandbox.targetsolutions.com/v1
AccessToken: WWX45eYQ0uynOMN2A9jB5w==
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

{
  "httpcode":200,
  "moreinfo":"http://developers.targetsolutions.com/v1/responsecodes/901",
  "developermessage":"The request returned zero results.",
  "statuscode":901,
  "status":"ok"
}

Access Denied Set

{
  "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"
}