Public/Company/CompanyCompanyTypeAssociations/Get-CWMCompanyTypeAssociation.ps1
function Get-CWMCompanyTypeAssociation { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [Alias('companyId')] [int]$parentId, [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/$($parentId)/typeAssociations" Invoke-CWMGetMaster -Arguments $PsBoundParameters -Endpoint $Endpoint } |