ERPNext HRMS icon

ERPNext HRMS

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

Shift Assignment → Get

AI-generated

Summary

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.

Links

Discussion