Actions12
- Custom API Call Actions
- Assignments Actions
- Invoices Actions
Custom API Call → POST
AI-generatedOverview
This node interacts with the Flex Platform API, allowing users to perform various operations such as custom API calls and managing resources like assignments and invoices. It supports GET and POST requests for custom endpoints, and CRUD operations for predefined models. This node is useful for automating workflows that require integration with the Flex Platform, such as retrieving data, creating new records, updating existing ones, or deleting items. For example, a user can fetch a list of invoices, create a new collection invoice, or make a custom POST request to a specific API endpoint.
Use Case Examples
- Fetch all invoices with filters applied.
- Create a new collection invoice with customer ID and amount.
- Make a custom POST request to /api/v1/users with a JSON body.
Properties
| Name | Meaning |
|---|---|
| API Endpoint | The specific API endpoint path to call for custom API requests, e.g., /api/v1/users. |
| JSON Body | The JSON payload to send in the body of a POST request for custom API calls. |
Output
JSON
json- The JSON response returned from the Flex Platform API for the executed request.
Dependencies
- Requires an API key credential for Flex Platform API authentication.
Troubleshooting
- Ensure the API Endpoint is correctly specified and starts with a slash (/).
- Verify the JSON Body is valid JSON when making POST requests.
- Common error: 'Kon geen access token ophalen' indicates failure to retrieve an access token, check API credentials and network connectivity.
- Errors in 'Custom Filter JSON' indicate malformed JSON input; ensure proper JSON formatting with double quotes.
Links
- Flex Platform API Documentation - Official documentation for the Flex Platform API endpoints and usage.