API V8 file upload to custom file module fails #4614

Open
opened 2026-02-20 16:20:35 -05:00 by deekerman · 0 comments
Owner

Originally created by @Zetanova on GitHub (Sep 3, 2021).

Issue

I created a custom module with the base template type "file"
It works as expected in the frontend, but now I need to add files to it over the API

Is there anyway to do so over API v8?

Expected Behavior

It should be possible to GET, POST or PATCH the file content of a file record over the API v8

Actual Behavior

There is not possibility to GET, POST or PATCH the file content of a file record over the API v8

Context

Mass import documents / files to custom file module is not possible.

Your Environment

  • SuiteCRM Version used: Version 7.11.20
Originally created by @Zetanova on GitHub (Sep 3, 2021). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> <!--- If you have discovered a security risk please report it by emailing security@suitecrm.com. This will be delivered to the product team who handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team. ---> #### Issue I created a custom module with the base template type "file" It works as expected in the frontend, but now I need to add files to it over the API Is there anyway to do so over API v8? #### Expected Behavior It should be possible to GET, POST or PATCH the file content of a file record over the API v8 #### Actual Behavior There is not possibility to GET, POST or PATCH the file content of a file record over the API v8 #### Context Mass import documents / files to custom file module is not possible. #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: Version 7.11.20
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4614
No description provided.