Moka People icon

Moka People

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

人事接口 → 更新员工(支持批量附件)

AI-generated

Summary

Update multiple employees in the Moka People HR system using a batch API that supports attachments.

Inputs

  • 接口编码 (apiCode) (required) — The API code configured in Moka People backend under Settings → External API Settings for the batch update employee endpoint.
  • 员工数据 (Data) (required) — A JSON array where each element is an object representing an employee to update. Each object includes employee fields like employee_no, realname, begin_work_time, id_no, contract, etc. The node wraps this array in a { "data": [...] } object before sending.
  • Options.timeout — Optional request timeout in milliseconds, where 0 means no timeout.

Output shape

a list of JSON objects, each representing the response per item processed in the workflow.

The node processes all input items, invoking the batch update per item with the specified parameters. Errors per item are collected if 'Continue On Fail' is enabled; otherwise, execution stops on the first error.

Links

Discussion