Lấy Theo ID
AI-generatedOverview
This node retrieves a specific user from the KiotViet system by their user ID. It is useful in scenarios where you need detailed information about a particular user, such as fetching user details for profile display, auditing, or integration with other systems.
Use Case Examples
- Fetch user details by user ID to display in a CRM system.
- Retrieve user information for verification or reporting purposes.
Properties
| Name | Meaning |
|---|---|
| ID Người Dùng | The unique identifier of the user to retrieve. |
Output
JSON
id- The unique identifier of the user.name- The name of the user.email- The email address of the user.status- The current status of the user (e.g., active or inactive).branchId- The branch ID associated with the user.role- The role assigned to the user within the system.
Dependencies
- An API key credential for KiotViet API authentication is required.
Troubleshooting
- If the user ID does not exist, the node will throw an error indicating the user was not found. Verify the user ID before running the node.
- Ensure the KiotViet API credentials are correctly configured to avoid authentication errors.
- If the API limit is reached, the node may fail to retrieve data; consider handling rate limits or retry logic.
Links
- KiotViet API Documentation - Official documentation for KiotViet API endpoints and usage.