Update an existing shift swap

Update an existing shift swap with the specified ID and details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the shift_swap to update

Body Params
boolean | null
Defaults to false

Whether the shift swap has been archived

boolean | null
Defaults to false

Whether the shift swap has been requested to be cancelled

date-time | null

The new proposed end time (UTC) of the shift e.g 2023-07-27 06:30:00+00

boolean | null
Defaults to false

Whether a replacement is needed to be found.

string | null

The ID of the group the shift swap belongs to

boolean | null
Defaults to true

Temporary field to tell the client whether the person requesting the shift swap has update permissions

integer | null

The unique ID of the shift swap

string | null

Notes

integer | null

The ID of the person who offered the shift

string | null

The type of change being requested

boolean | null
Defaults to true

How person who made swap request should get notified when status changes

boolean | null
Defaults to false

How person who made swap request should get notified when status changes

boolean | null
Defaults to true

How person who made swap request should get notified when status changes

boolean | null
Defaults to false

How person who made swap request should get notified when status changes

string | null

The reason for approving or denying a shift request

integer | null

The ID of the shift being swapped

date-time | null

The new proposed start time (UTC) of the shift e.g 2023-07-27 06:30:00+00

string | null

The status of the shift swap

date-time | null

The time when the shift swap was created

time_entries
array of objects | null

Requested time entries

Time Entries
time_off_entries
array of objects | null

Requested time off entries

Time Off Entries
date-time | null

The time when the shift swap was last updated

number | null

The value of the shift swap

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json