Pax8API/Public/Webhooks/Get-Pax8WebhooksGet.ps1
|
<#
.SYNOPSIS Get webhook by ID .DESCRIPTION Reads an instance of WebhookView. OpenAPI: GET /webhooks/{id} Scope: Webhooks. Audience: https://api.pax8.com. .PARAMETER Id path parameter 'id'. .PARAMETER Raw Returns the unmodified API response instead of unwrapping paginated content. .EXAMPLE Get-Pax8WebhooksGet -Id '00000000-0000-0000-0000-000000000000' .LINK https://devx.pax8.com/openapi/webhooks-api.json #> function Get-Pax8WebhooksGet { [CmdletBinding()] param ( [Parameter(Mandatory = $true)] [guid]$Id, [switch]$Raw ) process { $boundParameters = @{} foreach ($entry in $PSBoundParameters.GetEnumerator()) { $boundParameters[$entry.Key] = $entry.Value } Invoke-Pax8ApiOperation -CommandName $MyInvocation.MyCommand.Name -Parameters $boundParameters } } |