Acumatica API - Custom Endpoint icon

Acumatica API - Custom Endpoint

Interact with a custom Acumatica endpoint (schema fetched from the instance)

Attach File

AI-generated

Summary

Uploads a binary file and attaches it to an Acumatica record using the configured custom endpoint.

Inputs

  • Endpoint Name (required) — Acumatica endpoint name, such as Default or JMS.CRM.
  • Endpoint Version (required) — Endpoint version, such as 24.200.001 or 1.0.
  • Record ID or Keys (required) — Record GUID or slash-delimited key values in the order shown on the Acumatica form. Use the GUID if a key value contains a slash.
  • File Name (required) — File name, including its extension; used in the attachment request path.
  • Binary Field (required) — Name of the incoming binary property to upload; defaults to data.

Output shape

One output item per input item, containing the Acumatica response in its json field.

Sends the binary data as an application/octet-stream PUT to the selected record's files path. If the API response is empty, the item contains {"success":true}. With Continue On Fail enabled, request errors are returned as {"error":"..."} in the item's json field; otherwise they are thrown.

Links

Discussion