1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-06-02 23:27:50 +02:00
Vitaly the Alpaca (bot) efdb3f63ac Main build (Jenkins)
2024-12-25 11:43:34 +03:00

60 lines
1.1 KiB
Plaintext
Vendored

---
sidebar_position: 4
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Get field (numeric)
Gets the description of a numeric field
`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
<br/>
```bsl title="1C:Enterprise/OneScript code example"
Result = OPI_Airtable.GetNumberField("Number");
```
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
oint airtable GetNumberField \
--title "00bf566f-7f79-4cba-b950-015319241e99"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
oint airtable GetNumberField ^
--title "00bf566f-7f79-4cba-b950-015319241e99"
```
</TabItem>
</Tabs>
```json title="Result"
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}
```