ERPNext HRMS icon

ERPNext HRMS

Work with ERPNext/Frappe HRMS v15-v16 documents and methods

Holiday List → Create

AI-generated

Summary

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'.

Links

Discussion