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 → Create
AI-generatedSummary
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.