Skip to main content
Call this API to notify the attendance system to perform the shift swap action after the shift swap approval is granted. Users can swap shifts with themselves or with other users.

API Call Description

The following constraints apply to shift swaps:
  • Both parties must belong to a shift-based attendance group.
  • Both parties must have a scheduled shift or a scheduled day off on both the swap date and the return date.
  • The clock-in times after the swap cannot conflict. For example, the shift on the 1st is 08:00-22:00, and the shift on the 2nd is 10:00-09:00 (next day). If the shifts on the 1st and the 2nd are swapped, the shift on the 1st becomes 10:00-09:00 (next day), and the shift on the 2nd becomes 08:00-22:00. In this case, the clock-in time range of the 1st overlaps with the working hours of the 2nd. This is called a clock-in time conflict.
  • Shift swaps cannot be undone.

Request

Query Parameters

Request Body

Request Example

Java
Python
PHP
C#

Response

Response Body

Response Body Example

Error Codes

If an error occurs when you call this API, find a solution in the Global Error Codes document based on the error message.