Moka People icon

Moka People

Moka People (HCM 人事系统) API 集成

人事接口 → 员工基本信息回写

AI-generated

Summary

Writes employee contact information to Moka People using the configured employee basic information write-back API. Provide each employee’s ID and contact fields as JSON; the node wraps the list in the API request body and returns the API response for each input item.

Inputs

  • API code (required) — The interface code configured for the employee basic information write-back interface in Moka People’s external interface settings.
  • Write-back data (required) — A JSON array of employee records, each containing employeeId and oneOnOneChildObjectMap with contact field/value pairs, such as contact-office_phone, contact-telephone, contact-office_email, or contact-personal_email. The node wraps the array as employeeWriteBasicInfoList in the request body.
  • Timeout — Request timeout in milliseconds. The default is 0, meaning no timeout.
  • Moka People API credentials (required) — Credentials used to authenticate with the Moka People API.

Output shape

A list of items containing the API response for each input item.

Each response is linked to its originating input item. If Continue On Fail is enabled, a failed item produces an object with an error message; otherwise, the node raises an error.

Links

Discussion