Public/New-AirTableRecord.ps1
function New-AirTableRecord { param ( [Parameter(Mandatory)] [string]$ApiKey, [Parameter(Mandatory)] [string]$BaseName, [Parameter(Mandatory, Position = 0)] [string]$TableName, [Parameter(Position = 1)] [hashtable]$Fields ) Invoke-AirTableApi ` -ApiKey $ApiKey ` -BaseName $BaseName ` -TableName $TableName ` -Method Post ` -PayLoad (@{fields = $Fields } | ConvertTo-Json) | Convertfrom-AirTableRecord -TableName $TableName } |