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
Holiday List → Create
AI-generatedSummary
Create a new Holiday List document in ERPNext HRMS by sending a JSON payload that defines the document fields and values.
Inputs
- API Version — Selects the Frappe REST API version (v1 or v2) to use for the create request.
- Data JSON (required) — JSON object defining the fields and values for the new Holiday List document to be created.
Output shape
a single JSON object representing the created Holiday List document returned by ERPNext after successful creation
The output contains the full document data returned by the ERPNext API for the created Holiday List. Errors during creation will throw exceptions unless 'Continue On Fail' is enabled.
Examples
Example 1: Create a Holiday List with specified dates and description
Set resource to 'Holiday List', operation to 'Create', specify API version, and provide the document payload JSON in 'Data JSON'.