Skip to main content

Get field (numeric)

Gets the description of a numeric field

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

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

Returns: Structure - Field description


Code example
  
Name = "Number";
Precision = "0";

Response = OPI_Airtable.GetNumberField(Name, Precision); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
CLI command example
    
oint airtable GetNumberField --title "Number" --precision "0"

Result
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}