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": "8ad8031e-e316-4999-9112-46d59c454014",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-06-10T19:10:49.1382427-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-06-10T19:10:49.1382427-05:00",
"FsNeedId": "04a7b9fb-c530-4cbe-89e6-30d42888fe71",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-06-10T19:10:49.1382427-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-06-10T19:10:49.1382427-05:00",
"EndTime": "2026-06-10T19:10:49.1382427-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-06-10T19:10:49.1382427-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-06-10T19:10:49.1382427-05:00",
"FsReleasedForTradeAssignId": "cb3ab7c9-a213-47e2-8daa-82e5b29b3a4f",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "816ad6fc-d4e8-4a6f-8632-fce6a5937024"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}