Người Dùng KiotViet icon

Người Dùng KiotViet

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

Lấy Theo Chi Nhánh

AI-generated

Overview

This node interacts with the KiotViet API to manage and retrieve user data. Specifically, for the 'Lấy Theo Chi Nhánh' (Get By Branch) operation, it fetches users associated with a specified branch ID. It supports filtering by user status and search terms, and allows fetching either all results or a limited number of users. This operation is useful for scenarios where you need to manage or analyze users based on their branch affiliation, such as generating branch-specific reports or managing branch-level user access.

Use Case Examples

  1. Fetch all users from branch ID 123 to analyze branch-specific user activity.
  2. Retrieve up to 50 active users from a particular branch for targeted communication or management.

Properties

Name Meaning
ID Chi Nhánh The ID of the branch to fetch users from.
Lấy Toàn Bộ Whether to retrieve all users or limit the number of results.
Giới Hạn The maximum number of user results to retrieve when not fetching all.
Bộ Lọc Filters to apply when retrieving users, including search term and user status.

Output

JSON

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

Dependencies

  • KiotViet API with an API key credential

Troubleshooting

  • Common issues include invalid branch ID or API authentication errors. Ensure the branch ID is correct and the API credentials are properly configured.
  • If the node returns an error message, check the API rate limits and network connectivity.
  • Errors related to filters or parameters usually indicate incorrect input values; verify the filter options and parameter types.

Links

Discussion