Moka People icon

Moka People

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

人事接口 → 通用附件上传

AI-generated

Summary

Uploads a file from an incoming item to Moka People’s general attachment upload API using multipart/form-data. Set the API code configured for that interface and the name of the input item’s binary property containing the file.

Inputs

  • apiCode (required) — Interface code configured for “通用附件上传” in Moka People’s external interface settings.
  • binaryPropertyName (required) — Name of the incoming item’s binary property containing the file; defaults to data.
  • timeout — Request timeout in milliseconds; defaults to 60,000. Set to 0 for no timeout.

Output shape

A list of output items containing the API response data.

Processes each incoming item and associates its response with that item. With Continue On Fail enabled, an item that errors produces an { "error": "..." } result. The operation’s notice states that files must be no larger than 20 MB.

Links

Discussion