ERPNext HRMS icon

ERPNext HRMS

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

Employee → Get

AI-generated

Summary

Fetch an Employee document from ERPNext HRMS by its unique document name using the specified Frappe API version.

Inputs

  • API Version — Choose the Frappe REST API version to use: v1 (stable) or v2 (Frappe v16). Defaults to v1.
  • Document Name (required) — Enter the exact name (ID) of the Employee document to retrieve.

Output shape

a single JSON object representing the requested Employee document's data.

Returns the full document data from ERPNext for the specified Employee. Throws an error if the document is not found or the request fails.

Examples

Example 1: Retrieve Employee by Document Name

Set Resource to 'Employee', Operation to 'Get', choose API Version (v1 or v2), and provide the Document Name (e.g., 'EMP-0001').

Links

Discussion