Teamleader icon

Teamleader

Consume Teamleader API

Actions67

Files → Info

AI-generated

Overview

This node interacts with the Teamleader API to retrieve detailed information about a specific file by its ID. It is useful in scenarios where you need to fetch metadata or details of a file stored in Teamleader, such as file name, size, type, or other attributes associated with the file.

Use Case Examples

  1. Retrieve information about a contract file stored in Teamleader by providing its file ID.
  2. Fetch details of an invoice attachment to verify its properties before processing.

Properties

Name Meaning
ID The ID of the file to retrieve information for. This is a required string input.

Output

JSON

  • id - The unique identifier of the file.
  • name - The name of the file.
  • size - The size of the file in bytes.
  • mime_type - The MIME type of the file.
  • created_at - The timestamp when the file was created.
  • updated_at - The timestamp when the file was last updated.

Dependencies

  • Teamleader API OAuth2 credentials

Troubleshooting

  • Ensure the provided file ID is correct and exists in the Teamleader system to avoid 'No data got returned' errors.
  • Verify that the OAuth2 credentials for Teamleader API are valid and have the necessary permissions to access file information.
  • If the API returns no data, check if the file has been deleted or if there are network connectivity issues.

Links

  • Teamleader API Documentation - Official documentation for the Teamleader API, useful for understanding available endpoints and data structures.

Discussion