tasks.team.getTopAssignees

Returns the list of users suggested for the assignment of a new task. The returned list is based on the users’ action history and their interaction with each other in all projects.

Parameters

  • project_id GET Optional

    ID of the project for which a suggested list of users needs to be requested.

  • format GET Optional

    Sets response format. Available options: json (default), xml.

Return value

Array with the following keys:

  • data array User list. Each list item is an array with the following keys:
  • data[]['contact'] array Information about the user as an array with the following keys:
  • data[]['contact']['id'] int User ID.
  • data[]['contact']['is_me'] bool Flag denoting whether it is the current user.
  • data[]['contact']['name'] string User name.
  • data[]['contact']['photo_url'] string URL of a 96x96 pixels large user image.
  • data[]['status'] array|null Information about the current user status, set in their calendar, as an array with the following keys:
  • data[]['status']['name'] string Status description.
  • data[]['status']['font_color'] string HTML color value of the status label text.
  • data[]['status']['bg_color'] string HTML color value of the status label background.

Example

https://demo1.webasyst.com/api.php/tasks.team.getTopAssignees?