ERPNext HRMS icon

ERPNext HRMS

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

Attendance → Get

AI-generated

Summary

Retrieve a specific Attendance document by its document name from ERPNext HRMS using the selected Frappe REST API version.

Inputs

  • API Version (required) — Choose the Frappe REST API version to use, either v1 (/api/resource) or v2 (/api/v2/document). Defaults to v1.
  • Document Name (required) — The unique identifier (name) of the Attendance document to retrieve.

Output shape

A single JSON object representing the Attendance document, containing all its fields and data as returned by the ERPNext API.

This operation fetches exactly one Attendance document specified by the Document Name parameter. It uses the selected API version to determine the endpoint format. If the document does not exist or an error occurs, an error will be thrown unless the node is configured to continue on failure.

Examples

Example 1: Fetch Attendance Document

Set Resource to 'Attendance', Operation to 'Get', specify the API Version (v1 or v2), and provide the exact Document Name (document ID) for the attendance record you wish to retrieve.

Links

Discussion