Nhà Cung Cấp KiotViet icon

Nhà Cung Cấp KiotViet

Quản lý nhà cung cấp từ KiotViet

Lấy Danh Sách

AI-generated

Overview

This node interacts with the KiotViet API to manage supplier data. Specifically, the 'Lấy Danh Sách' (Get All) operation retrieves a list of suppliers from KiotViet. It supports filtering by search term (supplier name or code) and status (Active or Inactive). Users can choose to return all results or limit the number of results returned. This node is useful for scenarios where you need to fetch and process supplier lists for inventory management, reporting, or integration with other systems.

Use Case Examples

  1. Fetch all active suppliers to update a local database.
  2. Retrieve a limited list of suppliers matching a search term for display in a UI.
  3. Get all suppliers regardless of status for auditing purposes.

Properties

Name Meaning
Lấy Toàn Bộ Whether to return all supplier results or only up to a given limit.
Giới Hạn Maximum number of supplier results to return when not returning all.
Bộ Lọc Filters to narrow down the supplier list based on search term or status.

Output

JSON

  • id - Supplier unique identifier.
  • name - Supplier name.
  • code - Supplier code.
  • status - Supplier status, e.g., Active or Inactive.
  • otherProperties - Additional supplier details returned by the KiotViet API.

Dependencies

  • KiotViet API with authentication credentials

Troubleshooting

  • If the node fails to retrieve suppliers, check the API credentials and network connectivity.
  • Errors related to invalid supplier ID occur when using the 'Lấy Theo ID' operation with a non-existent ID, not applicable here but relevant for the node.
  • Ensure filter parameters are correctly formatted; invalid filters may cause API errors.

Discussion