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 → Get
AI-generatedSummary
Retrieve a specific Holiday List document from ERPNext HRMS by its document name.
Inputs
- API Version — Choose the Frappe REST API version to use ('v1' for /api/resource or 'v2' for /api/v2/document, supporting Frappe v16). Defaults to 'v1'.
- Document Name (required) — The unique name (ID) of the Holiday List document to retrieve.
Output shape
a single JSON object representing the Holiday List document data
Returns the full document as returned by the ERPNext API for the specified API version. Throws an error if the document is not found or API call fails.
Examples
Example 1: Get Holiday List document by name 'HOL-2023' using API version v1
Set API Version to 'v1' and Document Name to 'HOL-2023'