Actions12
- Custom API Call Actions
- Assignments Actions
- Invoices Actions
Custom API Call → GET
AI-generatedOverview
This node interacts with the Flex Platform API, allowing users to perform various operations such as custom API calls (GET or POST) and CRUD operations on predefined resources like assignments and invoices. It is useful for automating data retrieval, creation, updating, and deletion within the Flex Platform environment. For example, users can fetch a list of invoices with filters, retrieve a specific assignment by ID, or make a custom GET request to any API endpoint.
Use Case Examples
- Fetch all invoices with a limit and custom filters.
- Retrieve a specific assignment by its ID.
- Create a new collection invoice with customer ID and amount.
- Make a custom GET request to /api/v1/users endpoint.
Properties
| Name | Meaning |
|---|---|
| API Endpoint | The specific API endpoint path to call for custom API GET requests, e.g., /api/v1/users. |
Output
JSON
json- The JSON response returned from the Flex Platform API for the requested operation.
Dependencies
- Requires an API key credential for Flex Platform API authentication.
Troubleshooting
- Common issues include invalid or expired API tokens, which will cause authentication errors. The node caches the token and refreshes it if expired.
- Errors in custom JSON filters must be valid JSON with double quotes; otherwise, a parsing error is thrown.
- If the API endpoint or resource ID is incorrect or missing, the API call will fail with an error.
- The node throws detailed error messages indicating the item index where the failure occurred, aiding in debugging.
Links
- Flex Platform API Documentation - Official API documentation for Flex Platform to understand available endpoints and data models.