Public/Company/CompanyCompanyTypeAssociations/New-CWMCompanyTypeAssociation.ps1
function New-CWMCompanyTypeAssociation { [Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSShouldProcess', '', Justification = 'Used by sub-function')] [CmdletBinding(SupportsShouldProcess, ConfirmImpact='Medium')] param( [int]$id, [Parameter(Mandatory=$true)] [hashtable]$type, [Parameter(Mandatory=$true)] [hashtable]$company, [hashtable]$_info ) $Endpoint = '/companyTypeAssociations' return Invoke-CWMNewMaster -Arguments $PsBoundParameters -Endpoint $Endpoint } |