POST api/v1/assignments/FindByDeptCancelReason
Get canceled assingments for department by cancel reason.
Request Information
URI Parameters
None.
Body Parameters
AssignCancelReasonDepartmentRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
Required |
|
| EndDate | date |
Required |
|
| FsDepartmentIds | string |
None. |
|
| FsCancelReasonIDs | string |
None. |
|
| IncludeScheduleChange | boolean |
None. |
|
| IncludeUnscheduledAbsence | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2026-03-10T23:00:07.6423218-05:00",
"EndDate": "2026-03-10T23:00:07.6423218-05:00",
"FsDepartmentIds": "sample string 3",
"FsCancelReasonIDs": "sample string 4",
"IncludeScheduleChange": true,
"IncludeUnscheduledAbsence": true
}
Response Information
Resource Description
ApiResponseModelOfListOfFsAssignReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfListOfFsAssignReturnModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": [
{
"FsAssignId": "3f32edb2-85b9-425b-a40e-a1467aeac082",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-03-10T23:00:07.6423218-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-03-10T23:00:07.6423218-05:00",
"FsNeedId": "f63df296-f65f-4ada-9f98-a7d67d4d8d42",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-03-10T23:00:07.6423218-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-03-10T23:00:07.6423218-05:00",
"EndTime": "2026-03-10T23:00:07.6423218-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-03-10T23:00:07.6423218-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-03-10T23:00:07.6423218-05:00",
"FsReleasedForTradeAssignId": "7b6ac926-aa84-4926-9b8b-f87d4a902bcb",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "2d4036c1-9189-4454-9330-f28bd823d76b"
},
{
"FsAssignId": "3f32edb2-85b9-425b-a40e-a1467aeac082",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-03-10T23:00:07.6423218-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-03-10T23:00:07.6423218-05:00",
"FsNeedId": "f63df296-f65f-4ada-9f98-a7d67d4d8d42",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-03-10T23:00:07.6423218-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-03-10T23:00:07.6423218-05:00",
"EndTime": "2026-03-10T23:00:07.6423218-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-03-10T23:00:07.6423218-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-03-10T23:00:07.6423218-05:00",
"FsReleasedForTradeAssignId": "7b6ac926-aa84-4926-9b8b-f87d4a902bcb",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "2d4036c1-9189-4454-9330-f28bd823d76b"
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}