Skip to main content
Call this API to notify DingTalk that an approval is approved. Supported types are overtime, leave, out-of-office, and business trip.

API Call Description

For example, an employee is scheduled to work from 8:00 to 18:00 today and submits a leave request in the organization’s own approval system. After the request is approved, call this API to notify DingTalk Attendance. The employee does not need to clock in today and is not marked as absent. The employee’s status shows as leave. In another example, employee Xiaoding did not clock in on November 15, and the attendance statistics record this missed clock-in. Call this API to notify DingTalk that an approval is approved. This changes Xiaoding’s attendance on November 15 to leave, business trip, or overtime.

Request

Basic Information

Request Header

Query Parameters

Request Body

Request Example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

Response Body

Response Body Example

Error Codes

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