指定したタスクのすべての割り当てのリストを取得します。
curl -X GET https://api.box.com/2.0/tasks/12345/assignments \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
BoxCollection<BoxTaskAssignment> assignments = await client.TasksManager
.GetAssignmentsAsync(taskId: "11111");
BoxTask task = new BoxTask(api, "id");
task.getAssignments();
client.tasks.getAssignments('11111')
.then(assignments => {
/* assignments -> {
total_count: 1,
entries:
[ { type: 'task_assignment',
id: '22222',
item:
{ type: 'file',
id: '44444',
sequence_id: '0',
etag: '0',
sha1: '0bbd79a105c504f99573e3799756debba4c760cd',
name: 'box-logo.png' },
assigned_to:
{ type: 'user',
id: '33333',
name: 'Example User',
login: 'user@example.com' } } ] }
*/
});