Public/Company/CompanyStatuses/Get-CWMCompanyStatus.ps1
function Get-CWMCompanyStatus { [CmdletBinding()] param( [int]$id, [switch]$count, [string]$condition, [ValidatePattern('\S* (desc|asc)')] [string]$orderBy, [string]$childConditions, [string]$customFieldConditions, [int]$page, [int]$pageSize, [string[]]$fields, [switch]$all ) $Endpoint = '/company/companies/statuses' Invoke-CWMGetMaster -Arguments $PsBoundParameters -Endpoint $Endpoint } |