Lấy Danh Sách
AI-generatedOverview
This node interacts with the KiotViet API to manage price books. Specifically, for the 'Lấy Danh Sách' (Get All) operation, it retrieves a list of price books from KiotViet. It supports fetching either all results or a limited number of results based on user input, and allows filtering by active status and branch ID. This is useful for scenarios where users need to synchronize or analyze price book data from KiotViet within their workflows.
Use Case Examples
- A retail business wants to fetch all active price books from KiotViet to update their internal pricing system.
- A user needs to retrieve a limited number of price books filtered by a specific branch to generate reports.
Properties
| Name | Meaning |
|---|---|
| Lấy Toàn Bộ | Determines whether to fetch all price book results or limit the number of results. |
| Giới Hạn | Specifies the maximum number of price book results to retrieve when not fetching all. |
| Bộ Lọc | Filters to apply when retrieving price books, including active status and branch ID. |
Output
JSON
id- The unique identifier of the price book.name- The name of the price book.isActive- Indicates if the price book is active.branchId- The branch ID associated with the price book.otherProperties- Additional properties returned by the KiotViet API for each price book.
Dependencies
- KiotViet API with an API key credential
Troubleshooting
- Common issues include API authentication failures, which can be resolved by verifying the API key credentials.
- If the node returns no results, check the filter settings and ensure the KiotViet account has price books matching those filters.
- Errors during execution may occur if the API rate limit is exceeded; consider adding delays or reducing request frequency.
Links
- KiotViet Official Website - Official site for KiotViet, providing API documentation and support.