Public/Invoke-SfCreateObject.ps1
function Invoke-SfCreateObject { param([String]$name, [PSObject]$object) Invoke-SfApi "/sobjects/$($name)/" -Method Post -Body ($object | ConvertTo-Json -Depth 100) } |
function Invoke-SfCreateObject { param([String]$name, [PSObject]$object) Invoke-SfApi "/sobjects/$($name)/" -Method Post -Body ($object | ConvertTo-Json -Depth 100) } |