Skip to main content
Call this API to batch query the details of overtime rule settings by multiple overtime rule IDs.

API Call Description

For example, suppose the overtime rule in your Organization’s attendance group is set to Calculate overtime by approval time. In the DingTalk admin console, go to Attendance group management > Modify attendance group > Overtime rules > Settings. The general overtime rule is set to Calculate overtime by approval time. This setting applies to workdays, rest days, and holidays: overtime must be approved, and the overtime duration is based on the approval form. Call this API to get the setting details of the Calculate overtime by approval time overtime rule, including the rule name and overtime calculation method. In the admin console, open Attendance rule management > Overtime rules and edit an overtime rule. The Edit overtime rule panel contains the following settings: The rule in this example uses the Calculate by approval duration method.

Request

Basic Information

Request Header

Request Body

Request Example

HTTP
Java
Python
PHP
Go
Node.js
C#
C++

Response

Response Body

Response Body Example

Error Codes

If a call to this API fails, find a solution in the Global error codes Document based on the error message.