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
Shift Assignment → Get
AI-generatedSummary
Retrieve a specific Shift Assignment document from ERPNext HRMS by its document name (usually the document ID), using the specified Frappe REST API version (v1 or v2).
Inputs
- API Version (required) — Frappe REST API version to use for the request; options are 'v1' (/api/resource stable) or 'v2' (/api/v2/document, for Frappe v16).
- Document Name (required) — The unique name or ID of the Shift Assignment document to retrieve.
Output shape
a single JSON object representing the Shift Assignment document's data returned by the ERPNext API
The output corresponds to the retrieved document data from the ERPNext API. Errors during retrieval are handled as per the node's error mode settings.
Examples
Example 1: Retrieve Shift Assignment
Set resource to 'Shift Assignment', operation to 'Get', provide API Version (v1 or v2), and specify the Document Name of the Shift Assignment to fetch.