Skip to main content
Call this API to initialize multiple regular leave balances for an employee.

API Call Description

Compensatory leave types do not require initialization through this API. Overtime duration automatically converts to compensatory leave duration. Create leave rules in either of 2 ways: by calling an API, or through the official DingTalk Attendance app:

Request

Query Parameters

Request Body

Request Example

Java
Python
PHP
C#

Response

Response Body

Response Body Example

Error Codes

If the call returns an error, find a solution based on the error message in the Global Error Codes document.