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": "a86168f2-379d-4595-a1ce-74c8b0d77040",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-01-04T00:11:40.528191-06:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-01-04T00:11:40.528191-06:00",
"FsNeedId": "90daca8a-2bf9-4395-a1c9-0ef293aac3c2",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-01-04T00:11:40.528191-06:00",
"FsDeptShiftId": 1,
"StartTime": "2026-01-04T00:11:40.528191-06:00",
"EndTime": "2026-01-04T00:11:40.528191-06:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-01-04T00:11:40.528191-06:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-01-04T00:11:40.528191-06:00",
"FsReleasedForTradeAssignId": "d7d732d7-60e9-474c-bc35-7df43e326422",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "31652639-cc14-44cc-88b1-c2bbf4caaa5e"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}