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": "91015605-7da4-4f15-b01b-fa1b13b59315",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-10-27T11:52:00.8243242-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-10-27T11:52:00.8243242-05:00",
"FsNeedId": "d2545c79-9a7d-49a7-b821-0c4ebfeb6310",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-10-27T11:52:00.8243242-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-10-27T11:52:00.8243242-05:00",
"EndTime": "2026-10-27T11:52:00.8243242-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-10-27T11:52:00.8243242-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-10-27T11:52:00.8243242-05:00",
"FsReleasedForTradeAssignId": "9d85d5e1-ec58-423c-8b59-0b9f065156e7",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "7cf5af0c-38be-48ad-a153-d682005f7fad"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}