Public/Finance/Agreements/Get-CWMAgreement.ps1
function Get-CWMAgreement { [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 = '/finance/agreements' Invoke-CWMGetMaster -Arguments $PsBoundParameters -Endpoint $Endpoint } |