Skip to main content

Get field (numeric)

Gets the description of a numeric field

Function GetNumberField(Val Name, Val Precision = 0) Export

ParameterCLI optionTypeRequiredDescription
Name--titleStringNew field name
Precision--precisionNumber, StringNumber of decimal places

Returns: Structure - Field description


1C:Enterprise/OneScript code example
    Result = OPI_Airtable.GetNumberField("Number");
    oint airtable GetNumberField \
--title "eb536461-8675-411a-ba45-b103c5b31240"
Result
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}