POST api/v1/staffingexceptions
Create a new StaffingException
Request Information
URI Parameters
None.
Body Parameters
StaffingExceptionsRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| staffingExceptionsId | integer |
None. |
|
| departmentId | integer |
Required |
|
| summaryId | integer |
None. |
|
| departmentShiftId | integer |
None. |
|
| date | date |
Required |
|
| staffTo | integer |
None. |
|
| actualCensus | integer |
None. |
|
| forecastCensus | integer |
None. |
|
| status | integer |
None. |
|
| appChanged | string |
String length: inclusive between 0 and 50 |
|
| userChanged | string |
String length: inclusive between 0 and 50 |
|
| createDateUtc | date |
None. |
|
| dateChangedUtc | date |
None. |
|
| staffingExceptionsSkills | Collection of StaffingExceptionsSkillsRequestModel |
None. |
|
| ExceptionNotes | Collection of NoteReturnModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"staffingExceptionsId": 1,
"departmentId": 2,
"summaryId": 3,
"departmentShiftId": 4,
"date": "2026-01-02T23:35:22.4106836-06:00",
"staffTo": 1,
"actualCensus": 1,
"forecastCensus": 1,
"status": 6,
"appChanged": "sample string 7",
"userChanged": "sample string 8",
"createDateUtc": "2026-01-02T23:35:22.4106836-06:00",
"dateChangedUtc": "2026-01-02T23:35:22.4106836-06:00",
"staffingExceptionsSkills": [
{
"staffingExceptionsSkillId": 1,
"staffingExceptionsId": 2,
"skillId": 3,
"target": 1.0,
"scheduled": 1.0,
"difference": 1.0,
"appChanged": "sample string 4",
"userChanged": "sample string 5",
"createDateUtc": "2026-01-02T23:35:22.4106836-06:00",
"dateChangedUtc": "2026-01-02T23:35:22.4106836-06:00"
},
{
"staffingExceptionsSkillId": 1,
"staffingExceptionsId": 2,
"skillId": 3,
"target": 1.0,
"scheduled": 1.0,
"difference": 1.0,
"appChanged": "sample string 4",
"userChanged": "sample string 5",
"createDateUtc": "2026-01-02T23:35:22.4106836-06:00",
"dateChangedUtc": "2026-01-02T23:35:22.4106836-06:00"
}
],
"ExceptionNotes": [
{
"noteId": "5c17bbce-c99d-4723-89ce-da9065fa3656",
"noteTypeId": 2,
"noteContent": "sample string 3",
"userId": "sample string 4",
"userName": "sample string 5",
"noteCreatedDate": "sample string 6",
"relationId": 7,
"relationIdValue": "sample string 8",
"modifiedDate": "sample string 9"
},
{
"noteId": "5c17bbce-c99d-4723-89ce-da9065fa3656",
"noteTypeId": 2,
"noteContent": "sample string 3",
"userId": "sample string 4",
"userName": "sample string 5",
"noteCreatedDate": "sample string 6",
"relationId": 7,
"relationIdValue": "sample string 8",
"modifiedDate": "sample string 9"
}
]
}
Response Information
Resource Description
ApiResponseModelOfStaffingExceptionsReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfStaffingExceptionsReturnModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.