Skip to main content
Solved

Attach file to task using API

  • Nov 29, 2022 1:13 PM UTC
  • 2 replies
  • 465 views
  • Translate All

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

View original

2 replies

SadokHanini
Freshman II
  • Author
  • Freshman II
  • Nov 29, 2022 2:58 PM UTC

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

 

 

Translate

jinin
Pro I
Forum|alt.badge.img+12
  • Pro I
  • Answer
  • Nov 29, 2022 5:41 PM UTC

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

Translate