Get field (numeric)
Gets the description of a numeric field
Function GetNumberField(Val Name, Val Precision = 0) Export
Parameter | CLI option | Type | Description |
---|---|---|---|
Name | --title | String | New field name |
Precision | --precision | Number, String | Number 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
}
}