Public/ItemAllocations/Update-AspireItemAllocation.ps1
|
<#
.SYNOPSIS Updates an existing item allocation in the Aspire API. .DESCRIPTION Uses Invoke-AspireRequest to perform a PUT request to the /ItemAllocations endpoint. .PARAMETER Body The request body as a hashtable containing the updated item allocation details (required). .OUTPUTS The response from the API. .EXAMPLE $body = @{ # Add example body based on schema } Update-AspireItemAllocation -Body $body #> function Update-AspireItemAllocation { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [hashtable]$Body ) return Invoke-AspireRequest -Method PUT -Path "/ItemAllocations" -Body $Body -ApiVersion $null } |