|
Http Verb |
POST |
|---|---|
|
Url |
/workforce/calendars/r1/work-shifts |
|
Permissions required |
|
|
Personally Identifiable Information (PII) |
No |
|
Sensitive Information |
No |
|
Last Modified Version |
r1 |
|
Released since |
|
|
Deprecated since |
|
|
Removed since |
|
|
Tech Tags |
|
Business Logic
This API creates a new Work Shift.
Validations:
-
The resourceId in input should not be related to a resource on loan.
-
It is not possible to insert for a specific resourceId and a specific day, more records than the number indicated in the property
company.fsm.workshift.maxWorkshiftPerDay -
It is not possible to overlap for a specific resourceId more shift in the same time range.
Header Parameters
Default.
Request Body Parameters
|
Field |
Validations |
Note |
|---|---|---|
|
resourceId |
Max Lenght: 10
|
|
|
day |
Format: ISO-8601
|
|
|
operationCenterId |
Max Lenght: 10 |
|
|
typeId |
Max Lenght: 10
|
|
|
note |
Max Lenght: 1000 |
|
Response documentation
Response payload fields
|
Field |
Note |
|---|---|
|
id |
|