Skip to main content
Answer

Attach file to task using API

  • November 29, 2022
  • 2 replies
  • 364 views

SadokHanini
Freshman II

Is it possible to attach file to scenario while executing a task  using API ?

 

 

Best answer by jinin

Hi @SadokHanini ,

The Acumatica's REST API attaches files is only accessible to Top-Level entities.  This means there has to be a screen that uses the object as a primary DAC.

 


Refer to the below link and try the workaround suggested by Bob.
stackoverflow.com/questions/55137176/add-files-to-salesorder-line-item

2 replies

SadokHanini
Freshman II
  • Author
  • Freshman II
  • November 29, 2022

Fyi : i added a new entity to the Default endpoint (WZTASK) 
but when trying to attach the file i’m getting this error : 

 

 


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • November 29, 2022

Hi @SadokHanini ,

The Acumatica's REST API attaches files is only accessible to Top-Level entities.  This means there has to be a screen that uses the object as a primary DAC.

 


Refer to the below link and try the workaround suggested by Bob.
stackoverflow.com/questions/55137176/add-files-to-salesorder-line-item