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": "d66c584a-45ba-4714-9096-cd28a1d8aa26",
"FsDeptId": 2,
"FsStaffId": 3,
"Charge": true,
"UnscheduledAbsence": true,
"UnscheduledAbsenceOption": 1,
"FsCancelReasonId": 1,
"CancelComment": "sample string 6",
"OvertimeShift": true,
"CreateDateUTC": "2026-06-10T19:07:02.7445462-05:00",
"AppChanged": "sample string 8",
"UserChanged": "sample string 9",
"Version": "QEA=",
"DateChangedUTC": "2026-06-10T19:07:02.7445462-05:00",
"FsNeedId": "bd94bbc6-2354-4660-8c6f-9a16709647a8",
"FsNeedStatusId": 11,
"FsOrigDeptId": 12,
"Date": "2026-06-10T19:07:02.7445462-05:00",
"FsDeptShiftId": 1,
"StartTime": "2026-06-10T19:07:02.7445462-05:00",
"EndTime": "2026-06-10T19:07:02.7445462-05:00",
"FsCountTypeId": 16,
"FsProductiveId": 17,
"ProviderConfirmed": true,
"Approved": true,
"BookDateUTC": "2026-06-10T19:07:02.7445462-05:00",
"FsSkillLevelId": 20,
"ReleasedForTrade": true,
"ReleasedForTradeDate": "2026-06-10T19:07:02.7445462-05:00",
"FsReleasedForTradeAssignId": "dd19e778-7f4b-479f-add3-7407c92f110a",
"IsDefaultScheduleEntry": true,
"FsAssignCopyById": "f10f5449-6cfc-420c-8b4c-b83e3ee0d503"
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}