List a task's assignments

List a task's assignments

To list all of the assignments for a specific tasks, call the GET /tasks/:task_id/assignments with the task id.

cURL
curl -i -X GET "https://api.box.com/2.0/task_assignments/12345" \
     -H "Authorization: Bearer <ACCESS_TOKEN>"
Java
String assignmentID = "4256974";
BoxTaskAssignment.Info assignmentInfo = new BoxTaskAssignment(api, assignmentID).getInfo();
Python
assignment= client.task_assignment('12345').get()
print('Assignment ID is {0} and assignment type is {1}'.format(assignment.id, assignment.type))