bugtracker

bugtracker.getCompanyMembers

The translation was generated automatically and may contain mistakes

Returns the list staff companies .

Works with access key companies.

Parameters

company_id

positive

Company ID. It can be found in the link to the company page, for example:

https://vk.com/bugs_mng?company_id=3

Required parameter

count

positive

Optional parameter . Number of returned results. Maximum value: 100 . Default value: 10 .

offset

positive

Optional parameter . Number of missed results.

filter_name

string

Optional parameter . User name to filter the results.

filter_role

positive

Optional parameter . The name of the role by which you need to filter the results.

filter_not_group

positive

Optional parameter . The identifier of the access group, the participants of which should be excluded from the results.

filter_member_ids

string

extended

checkbox

Optional parameter . Determines whether to return detailed user profile information. Possible values:

  • •
    0 - not return.
  • •
    1 - return.
fields

string

Optional parameter . Sets a list of user profile fields to return.

extra

checkbox

Optional parameter . Determines whether to return additional information on products and access groups for each employee.

  • •
    0 - not return.
  • •
    1 - return.

Result

This returns an object with the following fields:

  • •
    count The number of users who fit the filters.
  • •
    company_members A list of objects with user data.
  • •
    profiles Data about users. Depending on whether the fields are set extended ?1? fields provides additional information about user profiles.

Every object company_member состоит из полей:

  • •
    user_id User ID.
  • •
    company_id Company ID.
  • •
    role The role of the company ( 0 The participant, 1 (The leader).
  • •
    ts Date of addition to the company (timestamp).
  • •
    reporter_url Link to user card in VK Testers.

If a parameter is passed extra=1 In every object company_member fields are added:

  • •
    groups_count User group counter.
  • •
    products_count The user's product counter.
  • •
    groups - an array with the identifiers of the groups in which the user consists.
  • •
    products An array of links to company products.

Each link to the product is:

  • •
    id The product ID.
  • •
    access — level of access in the product.
  • •
    status the way in which the employee gained access to the product. Possible values:
    • •
      6 Access is based on access groups .
    • •
      7 Access granted personally.

Error codes

103
Out of limits
104
Not found

Common errors may occur during execution