ERPNext HRMS icon

ERPNext HRMS

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

Holiday List → Get

AI-generated

Summary

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'

Links

Discussion