Lấy Danh Sách
AI-generatedOverview
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
- Retrieve all active users from KiotViet for reporting.
- Search users by name or user code to find specific user details.
- 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 IDname- User namestatus- User status (e.g., Active, Inactive)branchId- ID of the branch the user belongs toemail- User email addressphone- 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.