Actions20
Overview
This node interacts with the MOCO API to manage activities, companies, projects, and users. Specifically, for the Activity resource with the Delete operation, it deletes an activity by its ID. This is useful for automating the removal of time tracking or work log entries in MOCO, for example, when cleaning up erroneous or outdated activity records.
Use Case Examples
- Deleting an activity by providing its Activity ID to remove incorrect time entries.
- Automating cleanup of activities after project completion or cancellation.
Properties
| Name | Meaning |
|---|---|
| Activity ID | The unique identifier of the activity to delete. This is required to specify which activity should be removed. |
Output
JSON
json- The response from the MOCO API after deleting the specified activity, typically confirming deletion or providing status information.
Dependencies
- Requires an API key credential for authenticating with the MOCO API.
Troubleshooting
- If the activity ID is invalid or does not exist, the API will return an error indicating the activity could not be found. Verify the ID before attempting deletion.
- Network or authentication errors may occur if the API key credential is missing or incorrect. Ensure valid credentials are configured.
- If the node is set to continue on fail, errors will be returned in the output JSON under an error property for each failed item.