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": "e74b2241-4cae-470a-b224-e2be1bc18b4d",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-03-10T20:56:55.9633636-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-03-10T20:56:55.9633636-05:00",
"FsNeedId": "7a97ae65-3637-4c81-8423-d9c7650a3c84",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-03-10T20:56:55.9633636-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-03-10T20:56:55.9633636-05:00",
"EndTime": "2026-03-10T20:56:55.9633636-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-03-10T20:56:55.9633636-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-03-10T20:56:55.9633636-05:00",
"FsReleasedForTradeAssignId": "2ada4f0d-97db-4b6f-9a08-af53f1ef76f8",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "f6b5b3a4-b785-4779-8722-e21c0e66f88c"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}