Public/Set-ZomentumSalesMeeting.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
Function Set-ZomentumSalesMeeting { <# .SYNOPSIS Updates a Sales Meeting via the zomentum API. .DESCRIPTION Function to send an Sales Meeting creation request to the Halo API .OUTPUTS Outputs an object containing the response from the web request. #> [CmdletBinding()] Param ( # Object containing properties and values used to Update a new action. [Parameter( Mandatory = $True )] [Object]$SalesMeeting ) try { $Result = New-ZomentumPOSTRequest -Object $SalesMeeting -Endpoint 'activities/sales/meeting/' -Update Return $Result } catch { Write-Error "Update Sales Meeting Failed $_" } } |