MOCO icon

MOCO

Consume MOCO API

Overview

This node interacts with the MOCO API to list companies based on various filtering and sorting criteria. It supports fetching all companies or a limited number, filtering by company IDs, updated timestamp, and additional fields such as identifier, tags, search term, and company type (customer, supplier, organization). This is useful for workflows that need to retrieve company data for reporting, integration, or automation purposes.

Use Case Examples

  1. Retrieve all companies updated after a specific date.
  2. Fetch a limited number of companies filtered by specific IDs.
  3. List companies of type 'customer' sorted by their identifier.

Properties

Name Meaning
Return All Whether to return all results or only up to a given limit.
Limit Maximum number of results to return when not returning all.
IDs Filter by specific company IDs, comma-separated.
Updated After Filter companies created or updated after this timestamp.
Additional Fields Additional filtering and sorting options including identifier, sort field, tags, search term, and company type.

Output

JSON

  • id - Unique identifier of the company.
  • name - Name of the company.
  • type - Type of the company (customer, supplier, organization).
  • identifier - Identifier of the company.
  • tags - Tags associated with the company.
  • updated_at - Timestamp when the company was last updated.

Dependencies

  • MOCO API with API key credential

Troubleshooting

  • Ensure the API key credential is correctly configured and has permissions to access company data.
  • If filtering by IDs, ensure the IDs are valid and comma-separated without spaces.
  • When using 'Updated After', provide a valid ISO 8601 timestamp.
  • If no results are returned, check the filter criteria and try broadening the search.

Links

Discussion