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": "68f2aa96-2987-4641-bd8d-29db868e943a",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-07-25T02:31:25.7348613-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-07-25T02:31:25.7348613-05:00",
"FsNeedId": "e5276fd4-0957-42ee-bf16-3607a1194ef6",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-07-25T02:31:25.7348613-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-07-25T02:31:25.7348613-05:00",
"EndTime": "2026-07-25T02:31:25.7348613-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-07-25T02:31:25.7348613-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-07-25T02:31:25.7348613-05:00",
"FsReleasedForTradeAssignId": "919768cf-411b-47c3-b257-99fcf8900bd8",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "d6b63d95-7629-40bf-a823-f7d21705ca95"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}