Get field (numeric)
Gets the description of a numeric field
- Parameters
- Advanced call ?
Function GetNumberField(Val Name, Val Precision = 0) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Name | --title | String | ✔ | New field name |
| Precision | --precision | Number, String | ✖ | Number of decimal places |
Returns
Structure - Field description
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_Airtable.GetNumberField("Number");
- Bash
- CMD/Bat
oint airtable GetNumberField \
--title "f7a255d3-4ef6-4471-9284-566a20687f3b"
oint airtable GetNumberField ^
--title "f7a255d3-4ef6-4471-9284-566a20687f3b"
Result
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}