Update-SAPSuccessFactors Cmdlet
Updates SAP SuccessFactors data.
Syntax
Update-SAPSuccessFactors [parameters]
Remarks
The Update-SAPSuccessFactors cmdlet allows you to use a syntax similar to SQL UPDATE statements to update SAP SuccessFactors data.
$conn = Connect-SAPSuccessFactors -User "username" -Password "password" -CompanyId "CompanyId" -Url "https://api4.successfactors.com" Update-SAPSuccessFactors -Connection $conn -Table "SampleTable_1" -Columns @("Column1") -Values @("Jon Doe") -Id "6"The Where parameter can also be used to specify the primary key of the table:
Update-SAPSuccessFactors -Connection $conn -Table "SampleTable_1" -Columns @("Column1") -Values @("Jon Doe") -Where "Id = '6'"The primary key can also be passed to the cmdlet along the pipeline:
Select-SAPSuccessFactors -Connection $conn -Table SampleTable_1 -Where "Column2 = 'Bob'" | Update-SAPSuccessFactors -Columns @("Column2") -Values @("Bob 2")