Public/Service/BoardTypes/Get-CWMBoardType.ps1
function Get-CWMBoardType { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [Alias('boardId')] [int]$parentId, [int]$id, [switch]$count, [string]$condition, [ValidatePattern('\S* (desc|asc)')] $orderBy, [string]$childconditions, [string]$customfieldconditions, [int]$page, [int]$pageSize, [string[]]$fields, [switch]$all ) $Endpoint = "/service/boards/$($parentId)/types" Invoke-CWMGetMaster -Arguments $PsBoundParameters -Endpoint $Endpoint } |