Public/Set/Set-HaloOpportunity.ps1
Function Set-HaloOpportunity { <# .SYNOPSIS Updates an opportunity via the Halo API. .DESCRIPTION Function to send an opportunity update request to the Halo API .OUTPUTS Outputs an object containing the response from the web request. #> [CmdletBinding()] Param ( [Parameter( Mandatory = $True )] [PSCustomObject]$Opportunity ) Invoke-HaloUpdate -Object $Opportunity -Endpoint "opportunities" -Update } |