Retrieving A365 Project information

Modified on Thu, 23 Feb 2023 at 01:27 PM

This is an example of how to query the Nexar API for a list of projects given an A365 workspace.


To start you need to find the URL of your A365 workspace. You can do this programmatically using the below query:


query workspaceUrl {
  desWorkspaces {
    url
    name
  }
}



Or if you open up the desired workspace and then grab the highlighted URL here up until .com/ but in your own browser:



Once you've got that you can use the query below inserting your URL in to query for projects:


query projectId{
  desProjects( 
    workspaceUrl: "YourWorkspaceUrlHere"
    ){
      nodes{
        name
        id
        projectId
      }
  }
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article