Cmdlets for Zoho CRM

Build 22.0.8479

Update-ZohoCRM Cmdlet

Parameters   Output Objects  

Zoho CRM データを更新します。

Syntax

Update-ZohoCRM [parameters]

Remarks

Update-ZohoCRM コマンドレットを使って、SQL UPDATE ステートメントに似た構文を用いてZoho CRM データを更新できます。

$conn = Connect-ZohoCRM
Update-ZohoCRM -Connection $conn -Table "Accounts" -Columns @("AccountNumber") -Values @("4500") -Id "1"
Where パラメータはテーブルの主キーを指定するためにも使われます。
Update-ZohoCRM -Connection $conn -Table "Accounts" -Columns @("AccountNumber") -Values @("4500") -Where "Id = '1'"
主キーは、パイプライン上でコマンドレットに渡すこともできます。
Select-ZohoCRM -Connection $conn -Table Accounts -Where "Industry = 'Data/Telecom OEM'" | Update-ZohoCRM -Columns @("Industry") -Values @("Data/Telecom OEM 2")

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8479