Solved

How do I create a workspace from the API?

  • 6 February 2024
  • 1 reply
  • 25 views

I understand how to do it from the UI, however is there a way of doing that programmatically, using e.g. a RESTful request or a SBAPI command.

(One of the desired product flows I’m exploring entails creating a workspace if needed and then populating it with a couple of GIs)

 

icon

Best answer by pkabir63 6 February 2024, 01:50

View original

1 reply

@gmichaud cc

Using the network inspector, I found that we’re sending a POST request to:

https://connection.host/frameset/workspace

With ASP.NET session cookies and CompanyID cookie, and a JSON body like this:

{title: "WorkspaceName", icon: "iconName", areaID: ""}

I think I am going to give it a try, but would be nice to have it documented somewhere ;)

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