Skip to main content
Solved

How do I create a workspace from the API?

  • February 6, 2024
  • 1 reply
  • 34 views

pkabir63
Freshman II

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)

 

Best answer by pkabir63

@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 ;)

View original
Did this topic help you find an answer to your question?

1 reply

pkabir63
Freshman II
  • Author
  • Freshman II
  • 5 replies
  • Answer
  • February 6, 2024

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings