WorkSpace API Endpoints
Overview
The Atria WorkSpace Service includes a full REST API that can be used for direct integration and automation.
However, this documentation focuses specifically on using the Powershell cmdlets provided in the Atria.Tools
module.
These cmdlets make it much easier to interact with the WorkSpace Service without manually building REST API calls.
If you require direct REST API documentation, please refer to the Swagger UI available within your own Atria instance:
https://{hostname}/api/
For most automation and scripting tasks, the provided Powershell cmdlets are recommended as they handle authentication, request formatting, and responses automatically.
Working with the Atria API
When working with the Atria API, you must first connect to the API — much like working with Microsoft Entra ID.
Connecting validates your authorization token and sets up the Powershell session with the required metadata to work with the other Cmdlets and Functions.
- Connect-AtriaApiValidates the authentication token and sets up the Powershell environment for communication with Atria's external WorkSpace Api.
- Disconnect-AtriaApiDisconnects the Powershell environment and clears the Api authentication properties.
- Get-AtriaApiContextRetrieves the current Api connection properties.
Working with Item Types
Item Types can only be retrieved via the API. If you require a new Item Type, add the entry directly to the WorkSpace.ItemTypes
table in Atria's OLM database. In most cases you should not need an additional ItemType, contact Atria Consulting for further guidance.
- Get-AtriaWorkspaceItemTypeRetrieves the WorkSpace Item Types.
Working with Shared Items
- Get-AtriaWorkSpaceItemRetrieves one or more workspace shared items.
- Get-AtriaWorkSpaceItemCustomerRelationshipRetrieves a list of customers related to a specific item.
- New-AtriaWorkSpaceItemCreates a new Shared (Public) WorkSpace Item.
- Remove-AtriaWorkSpaceItemCustomerRelationshipRemoves the relationship between a workspace item and a customer.
Working with Private Items
- Add-AtriaWorkSpaceCustomerItemAssigns a workspace item from a list to a customer in the Atria workspace service
- Get-AtriaWorkSpaceCustomerItemRetrieves workspace items assigned to a specific customer.
- Import-AtriaWorkspaceItemImports an existing group into the Atria WorkSpace Service.
- New-AtriaWorkSpaceCustomerItemCreates a new customer workspace item.
- Remove-AtriaWorkSpaceCustomerItemRemoves a workspace item assigned to a specific customer.
Working with Lists
- Add-AtriaWorkSpaceListItemAdds a shared workspace item to a specific workspace list
- Add-AtriaWorkSpaceListScopeAssigns a scope for a workspace list to a customer
- Get-AtriaWorkSpaceItemListRelationshipRetrieves a list of WorkSpace Lists an item is allocated to.
- Get-AtriaWorkSpaceListRetrieves one or more WorkSpace Lists.
- Get-AtriaWorkSpaceListItemRetrieves items from a specified workspace list.
- Get-AtriaWorkSpaceListScopeRetrieves scopes associated with a specific workspace list
- Remove-AtriaWorkSpaceListItemRemoves a shared workspace item from a specific workspace list
Working with Icons
- Get-AtriaWorkSpaceIconRetrieves an icon associated with a workspace item.
Working with Roles
- Get-AtriaWorkSpaceCustomerRoleItemRetrieves workspace items associated with a specific customer role.