POST api/v1/assignments/FindByStaffCancelReason
Get canceled assingments for staff member by cancel reason.
Request Information
URI Parameters
None.
Body Parameters
AssignCancelReasonStaffRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
Required |
|
| EndDate | date |
Required |
|
| FsStaffId | integer |
Required |
|
| ShowOther | boolean |
None. |
|
| FsCancelReasonIds | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"StartDate": "2026-01-02T21:48:33.2241613-06:00",
"EndDate": "2026-01-02T21:48:33.2241613-06:00",
"FsStaffId": 3,
"ShowOther": true,
"FsCancelReasonIds": "sample string 5"
}
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": "3e8124d3-675c-4fc1-b5aa-c4098715a4a6",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-01-02T21:48:33.2241613-06:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-01-02T21:48:33.2241613-06:00",
"FsNeedId": "c03b2ec6-5c40-4361-9b59-97d0422f3b1f",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-01-02T21:48:33.2241613-06:00",
"FsDeptShiftId": 1,
"StartTime": "2026-01-02T21:48:33.2241613-06:00",
"EndTime": "2026-01-02T21:48:33.2241613-06:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-01-02T21:48:33.2241613-06:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-01-02T21:48:33.2241613-06:00",
"FsReleasedForTradeAssignId": "2f84fb7e-fd1e-4a6c-a28e-42a594e33e23",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "b46b2acf-8985-4d29-808f-07a8d3368193"
},
{
"FsAssignId": "3e8124d3-675c-4fc1-b5aa-c4098715a4a6",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-01-02T21:48:33.2241613-06:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-01-02T21:48:33.2241613-06:00",
"FsNeedId": "c03b2ec6-5c40-4361-9b59-97d0422f3b1f",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-01-02T21:48:33.2241613-06:00",
"FsDeptShiftId": 1,
"StartTime": "2026-01-02T21:48:33.2241613-06:00",
"EndTime": "2026-01-02T21:48:33.2241613-06:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-01-02T21:48:33.2241613-06:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-01-02T21:48:33.2241613-06:00",
"FsReleasedForTradeAssignId": "2f84fb7e-fd1e-4a6c-a28e-42a594e33e23",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "b46b2acf-8985-4d29-808f-07a8d3368193"
}
]
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}