Avito icon

Avito

Взаимодействие с API Авито для бизнеса

Actions79

Иерархия Аккаунтов → Объявления Сотрудника

AI-generated

Summary

Retrieve listings posted by a specific employee within an account hierarchy, filtered by category and paginated using the last item ID as a cursor.

Inputs

  • ID Компании (X-Employee-Of) — Integer ID of the company the employee represents. Set to 0 if the request is made on behalf of the company itself, in which case no special header is added.
  • ID Сотрудника (required) — Integer ID of the employee, obtained from the "Employees in Hierarchy" operation, whose listings are being queried.
  • ID Категории (required) — Integer ID of the listing category to filter the employee's listings.
  • ID Последнего Объявления — Pagination cursor as the ID of the last retrieved listing. Use 0 for the first page and thereafter pass the last returned ID while the response indicates more pages (hasNext is true).

Output shape

a paginated list of employee listings in the specified category, including pagination metadata like hasNext and lastItemId for cursor-based paging

Pagination relies on passing the ID of the last returned item through 'ID Последнего Объявления'. The 'ID Компании (X-Employee-Of)' header is only applied if nonzero. The output includes listings filtered by employee and category.

Links

Discussion