ERPNext HRMS icon

ERPNext HRMS

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

Shift Assignment → Submit

AI-generated

Summary

Submit a Shift Assignment document by providing its document name to trigger the ERPNext submission process.

Inputs

  • API Version — Choose the Frappe REST API version to use for the request, either v1 (Stable) or v2 (Frappe v16). Defaults to v1.
  • Document Name (required) — Specify the exact name (ID) of the Shift Assignment document you want to submit.

Output shape

a JSON object containing the response message or confirmation from the ERPNext API indicating the submission result

The operation returns the message or confirmation from the ERPNext API submit endpoint. If the document does not exist or cannot be submitted, an error is thrown or returned based on the node's error handling settings.

Examples

Example 1: Submit a Shift Assignment document with document name 'SHIFT-0001' using API version v1.

Set 'API Version' to 'v1', and 'Document Name' to 'SHIFT-0001'.

Links

Discussion