PATCH api/v1/assignments/{id}/{charge}
Set the charge flag of an assignment.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
|
| charge | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseModelOfFsAssignReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfFsAssignReturnModel |
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": "fe1f71c8-f5bb-4bde-87da-4c97f8a8897e",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-01-03T23:32:24.7131956-06:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-01-03T23:32:24.7131956-06:00",
"FsNeedId": "e4d40094-5696-4f88-a92a-d34152f6b9d7",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-01-03T23:32:24.7131956-06:00",
"FsDeptShiftId": 1,
"StartTime": "2026-01-03T23:32:24.7131956-06:00",
"EndTime": "2026-01-03T23:32:24.7131956-06:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-01-03T23:32:24.7131956-06:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-01-03T23:32:24.7131956-06:00",
"FsReleasedForTradeAssignId": "3a62cac7-ef02-47c5-8711-6ac75847f6d2",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "f95f5a34-cad5-42f2-8a4b-21d1e7f1b6de"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}