Get-AtriaWorkSpaceCustomerItem
SYNOPSIS
Retrieves one or more workspace items assigned to a specific customer.
SYNTAX
Get-AtriaWorkSpaceCustomerItem -CustomerId <Int> [-listItemId <Int>] [<CommonParameters>]
DESCRIPTION
Fetches either a full list of workspace items assigned to a customer or a specific item by ID. This function interacts with the Atria API to obtain customer-specific workspace item data.
PARAMETERS
-
CustomerId
<Int>(Required) The unique identifier (ID) of the customer whose workspace item(s) will be retrieved. -
listItemId
<Int>(Optional) The ID of a specific workspace item to retrieve. If omitted, all items assigned to the customer are returned. -
<CommonParameters>Supports common parameters:Verbose,Debug,ErrorAction,ErrorVariable,WarningAction,WarningVariable,OutBuffer,PipelineVariable, andOutVariable. More info: about_CommonParameters.
OUTPUTS
Returns one or more workspace item objects assigned to the specified customer.
EXAMPLES
Example 1 - Retrieve all items
Get-AtriaWorkSpaceCustomerItem -CustomerId 1234
Retrieves all workspace items assigned to customer 1234.
Example 2 - Retrieve a specific item
Get-AtriaWorkSpaceCustomerItem -CustomerId 1234 -listItemId 5678
Retrieves the item with ID 5678 assigned to customer 1234.
NOTES
Ensure you've authenticated using Connect-AtriaApi before invoking this function.