v1
latestOpenAPI 3.1.02026-07-24112760.5 KBUpdate an existing shift swap
Update an existing shift swap with the specified ID and details.
Path parameters
The ID of the shift_swap to update
The ID of the shift_swap to update
Request body
Whether the shift swap has been archived
Whether the shift swap has been requested to be cancelled
The new proposed end time (UTC) of the shift e.g 2023-07-27 06:30:00+00
Whether a replacement is needed to be found.
The ID of the group the shift swap belongs to
Temporary field to tell the client whether the person requesting the shift swap has update permissions
The unique ID of the shift swap
Notes
The ID of the person who offered the shift
The type of change being requested
How person who made swap request should get notified when status changes
How person who made swap request should get notified when status changes
How person who made swap request should get notified when status changes
How person who made swap request should get notified when status changes
The reason for approving or denying a shift request
The ID of the shift being swapped
The new proposed start time (UTC) of the shift e.g 2023-07-27 06:30:00+00
The status of the shift swap
The time when the shift swap was created
The time when the shift swap was last updated
The value of the shift swap
Response
Successful Response
Whether the shift swap has been archived
Whether the shift swap has been requested to be cancelled
The new proposed end time (UTC) of the shift e.g 2023-07-27 06:30:00+00
Whether a replacement is needed to be found.
The ID of the group the shift swap belongs to
The unique ID of the shift swap
Notes
The ID of the person who offered the shift
The type of change being requested
How person who made swap request should get notified when status changes
How person who made swap request should get notified when status changes
How person who made swap request should get notified when status changes
How person who made swap request should get notified when status changes
The reason for approving or denying a shift request
The ID of the shift being swapped
The new proposed start time (UTC) of the shift e.g 2023-07-27 06:30:00+00
The status of the shift swap
The time when the shift swap was created
The time when the shift swap was last updated
The value of the shift swap