ERPNext HRMS icon

ERPNext HRMS

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

Shift Assignment → Create

AI-generated

Summary

Create a new Shift Assignment document in ERPNext HRMS by providing the document payload as JSON.

Inputs

  • API Version — Choose between v1 or v2 of the Frappe REST API for the request.
  • Data JSON (required) — The JSON object representing the Shift Assignment document fields and values to create.

Output shape

a single JSON object representing the created Shift Assignment document returned from ERPNext.

The operation returns the full created document data as received from the ERPNext API. The API version selected controls the endpoint used but does not affect the returned data format.

Examples

Example 1: Create a new Shift Assignment document

Set resource to Shift Assignment, operation to Create, choose API version (v1 or v2), and provide the Shift Assignment document details in Data JSON.

Links

Discussion