Public/Get-GCBillingTrusteeBilling.ps1
|
<# .SYNOPSIS Retrieves trustee billing overview for an organization. .DESCRIPTION Returns the trustee billing overview for the specified trustor organization in Genesys Cloud. Uses the GET /api/v2/billing/trusteebillingoverview/{trustorOrgId} endpoint. .PARAMETER TrustorOrgId The unique identifier of the trustor organization. .EXAMPLE Get-GCBillingTrusteeBilling -TrustorOrgId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' .NOTES Genesys Cloud API: GET /api/v2/billing/trusteebillingoverview/{trustorOrgId} #> function Get-GCBillingTrusteeBilling { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$TrustorOrgId ) $endpoint = "billing/trusteebillingoverview/$TrustorOrgId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |