Pax8API/Public/Quoting/Invoke-Pax8QuoteOwnership.ps1
|
<#
.SYNOPSIS Take quote ownership .DESCRIPTION Takes ownership of a quote by the current partner user. OpenAPI: POST /v2/quotes/{quoteId}/take-ownership Scope: Quoting. Audience: https://api.pax8.com. .PARAMETER QuoteId path parameter 'quoteId'. .EXAMPLE Invoke-Pax8QuoteOwnership -QuoteId '00000000-0000-0000-0000-000000000000' .LINK https://devx.pax8.com/openapi/quoting-endpoints.json #> function Invoke-Pax8QuoteOwnership { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [guid]$QuoteId, [switch]$Raw ) process { $boundParameters = @{} foreach ($entry in $PSBoundParameters.GetEnumerator()) { $boundParameters[$entry.Key] = $entry.Value } Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters } } |