Người Dùng KiotViet icon

Người Dùng KiotViet

Quản lý người dùng từ KiotViet

Lấy Danh Sách

AI-generated

Overview

This node interacts with the KiotViet API to manage and retrieve user data. Specifically, for the 'Lấy Danh Sách' (Get List) operation, it fetches lists of users based on various criteria such as all users, active users, users by branch, or search terms. It supports fetching all results or limiting the number of results returned. This node is useful for scenarios where you need to integrate KiotViet user data into workflows, such as syncing user lists, filtering active users, or searching users by keywords.

Use Case Examples

  1. Retrieve all active users from KiotViet for reporting.
  2. Search users by name or user code to find specific user details.
  3. Get users belonging to a specific branch for branch-level management.

Properties

Name Meaning
Lấy Toàn Bộ Determines whether to fetch all results or limit the number of results returned.
Giới Hạn Specifies the maximum number of user results to retrieve when not fetching all.
Bộ Lọc Filters to refine the user list, including search keywords and user status (active or inactive).

Output

JSON

  • id - User ID
  • name - User name
  • status - User status (e.g., Active, Inactive)
  • branchId - ID of the branch the user belongs to
  • email - User email address
  • phone - User phone number

Dependencies

  • KiotViet API with authentication credentials

Troubleshooting

  • Ensure the KiotViet API credentials are correctly configured and valid to avoid authentication errors.
  • If the node returns empty results, verify the filter parameters and search terms are correctly set.
  • Limit parameter should be a positive number; otherwise, the API might reject the request.
  • Handle API rate limits or network issues by enabling 'Continue On Fail' to prevent workflow interruption.

Links

  • KiotViet API Documentation - Official API documentation for KiotViet, useful for understanding available endpoints and parameters.

Discussion