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
Leave Application → Get
AI-generatedSummary
Retrieve a specific Leave Application document from ERPNext by its unique document name using the selected API version.
Inputs
- API Version — Choose between v1 (/api/resource) and v2 (/api/v2/document) of the Frappe REST API to use for the request.
- Document Name (required) — The unique name or ID of the Leave Application document to fetch.
Output shape
a single Leave Application document object
Returns the full JSON data of the specified Leave Application document. Uses the ERPNext API version selected in the input. Throws an error if the document is not found or if the API request fails.
Examples
Example 1: Fetch a Leave Application document by its ID
Set Resource to 'Leave Application', Operation to 'Get', specify the Document Name (e.g., 'LA-0001'), and optionally choose API Version (default is 'v1').