Overview
This node interacts with a Nimma API to perform CRUD operations on objects within a specified app and model. It supports listing, retrieving, creating, updating, and deleting objects. A common use case is managing data entities dynamically by specifying the app and model names, such as listing all companies or creating a new company record.
Use Case Examples
- List all records of a model by specifying the app and model names and optional query parameters.
- Retrieve a specific record by its ID.
- Create a new record by providing the data in the body.
- Update an existing record by ID with new data fields provided in the body.
Properties
| Name | Meaning |
|---|---|
| App Name | The name of the application containing the model to operate on. |
| Model Name | The name of the model within the app to perform operations on. |
| Query Params | Optional key-value pairs to filter or modify the list operation results. |
Output
JSON
json- The JSON response from the Nimma API representing the requested objects or operation results.
Dependencies
- Requires an API authentication token or header obtained via a helper function to authorize requests to the Nimma API.
Troubleshooting
- Ensure the appName and modelName are correctly specified and exist in the Nimma system to avoid 404 errors.
- Verify that the API authentication header is correctly set; otherwise, requests will fail with authorization errors.
- When using query parameters, ensure keys and values are valid and supported by the Nimma API to avoid unexpected results or errors.
- If an unknown operation is specified, the node throws an error indicating the operation is not supported.