Get-AtriaRequestHierarchy
SYNOPSIS
Retrieves the full execution hierarchy associated with a specific request.
SYNTAX
Get-AtriaRequestHierarchy -RequestId <Int> [<CommonParameters>]
DESCRIPTION
Returns a hierarchical view of all sub-requests, automation steps, and related activities associated with the specified parent request. Useful for auditing or debugging complex provisioning workflows.
PARAMETERS
-
RequestId
<Int>(Required) The numeric identifier of the request whose full hierarchy should be returned. -
<CommonParameters>Supports common parameters:Verbose,Debug,ErrorAction,ErrorVariable,WarningAction,WarningVariable,OutBuffer,PipelineVariable, andOutVariable. More info: about_CommonParameters.
OUTPUTS
Returns a tree structure (or flat array with parent-child references) of all requests related to the specified request.
EXAMPLES
Example - Inspect a full request chain
Get-AtriaRequestHierarchy -RequestId 9876
Displays all related provisioning or workflow steps initiated by request ID 9876.
NOTES
Ensure you're authenticated using Connect-AtriaApi before calling this function.