Actions77
- Employee Actions
- Attendance Actions
- Employee Checkin Actions
- Expense Claim Actions
- Holiday List Actions
- Leave Allocation Actions
- Leave Application Actions
- Salary Slip Actions
- Shift Assignment Actions
- Custom DocType Actions
- Frappe Method Actions
Shift Assignment → Cancel
AI-generatedSummary
Cancel a submitted Shift Assignment document in ERPNext HRMS by specifying its document name and the API version to use.
Inputs
- API Version (required) — Choose between the stable v1 (/api/resource) or the v2 (/api/v2/document for Frappe v16) REST API endpoints for the request.
- Document Name (required) — The unique name (ID) of the Shift Assignment document to cancel.
Output shape
a JSON object containing the cancellation result message or confirmation
Returns the server response message indicating the cancellation status. Handles one document per execution item. Errors produce a message object if 'Continue On Fail' is enabled.