Solved

File attachments to external system via API

  • 21 September 2023
  • 2 replies
  • 260 views

Userlevel 3
Badge

We are going to implement an external system for crew and equipment scheduling for road construction/repair jobs.  Project Quotes will be created in Acumatica and converted to Projects.  At this point project info will be sent to this external system via an API/web service - that is all fine.  The challenge is that they also need any file (.pdf, .jpg, .xlsx, etc.) that was attached/linked to the Project in Acumatica to also be sent to this external system where it will be linked to the project there.  Is this possible?  Has anyone ever done anything like that before?  Another requirement from the receiving  system is that the files be converted to Base64 for use with their web service.

I’m just curious to hear if anyone has done anything similar and to see what is even possible.

 

icon

Best answer by dcomerford 21 September 2023, 16:47

View original

2 replies

Userlevel 7
Badge +12

You can use the Rest API to get records see Page 32. There example is to get files from the item but you can use it to get them from a Project. I have used it to get item images from items.

 

https://openuni.acumatica.com/wp-content/uploads/2017/08/I320_WebServicesDataRetrievalAdvanced_2022R1.pdf

Userlevel 7
Badge +17

@kyoung14  Additionally, here is the article with an example for your reference.

https://asiablog.acumatica.com/2018/01/attach-files-with-rest-api.html 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved