Actions116
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- Enroll Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The node interacts with the Mindz API to update enrollment records. Specifically, for the "Enroll" resource and the "Update" operation, it allows modifying details of an existing enrollment such as its expiry date and associated payment ID. This is useful in scenarios where enrollment information needs to be kept current, for example, extending a user's access period or updating payment references after a transaction.
Practical examples:
- Extending a student's course enrollment expiry date after payment confirmation.
- Correcting or linking a payment ID to an existing enrollment record.
Properties
| Name | Meaning |
|---|---|
| Enroll ID | The unique identifier of the enrollment record to update. |
| Expiry Date | The new expiration date/time for the enrollment, specifying until when the enrollment is valid. |
| Payment ID | The numeric identifier of the payment associated with this enrollment update. |
Output
The node outputs JSON data representing the updated enrollment record as returned by the Mindz API. This typically includes fields such as the enrollment ID, updated expiry date, payment details, and possibly status or metadata related to the enrollment.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to the Mindz API using OAuth2 authentication (an API key credential).
- The node depends on the Mindz API being accessible and the credentials having sufficient permissions to update enrollments.
Troubleshooting
- Common issues:
- Invalid or missing Enroll ID will cause the update to fail.
- Incorrect date format for Expiry Date may result in API errors.
- Insufficient permissions or expired OAuth2 token can lead to authorization errors.
- Error messages:
- "Enrollment not found" indicates the provided Enroll ID does not exist.
- "Unauthorized" or "Invalid credentials" suggests problems with API authentication.
- "Invalid input" may point to malformed or missing required parameters like expiryDate or paymentId.
- Resolutions:
- Verify the Enroll ID exists and is correct.
- Ensure the Expiry Date is in the proper ISO 8601 format.
- Refresh or reconfigure API credentials if authorization fails.
Links and References
- Mindz API documentation (for enrollment management and update operations)
- OAuth2 authentication setup guides for API access