Public/Get-GCFlowsDatatable.ps1
|
<# .SYNOPSIS Retrieves a specific flow datatable by ID from Genesys Cloud. .DESCRIPTION Queries the Genesys Cloud API to retrieve a single flow datatable by its unique identifier. API Endpoint: GET /api/v2/flows/datatables/{datatableId} .PARAMETER DatatableId The unique identifier of the datatable to retrieve. .EXAMPLE Get-GCFlowsDatatable -DatatableId 'aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' Retrieves the datatable with the specified ID. .NOTES Genesys Cloud API: GET /api/v2/flows/datatables/{datatableId} #> function Get-GCFlowsDatatable { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$DatatableId ) $endpoint = "flows/datatables/$DatatableId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |