Public/ObjectCodes/Get-AspireObjectCodes.ps1
|
<#
.SYNOPSIS Retrieves a list of object codes from the Aspire API. .DESCRIPTION Uses Invoke-AspireRequest to perform a GET request to the /ObjectCodes endpoint. .OUTPUTS The response from the API containing the list of object codes as an array of strings. .EXAMPLE Get-AspireObjectCodes #> function Get-AspireObjectCodes { [CmdletBinding()] param() return Invoke-AspireRequest -Method GET -Path "/ObjectCodes" -ApiVersion $null } |