1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-07 15:20:39 +02:00

46 lines
672 B
Markdown
Raw Normal View History

---
sidebar_position: 9
---
# Get field (phone)
Gets the description of a phone number field
2024-07-10 13:58:29 +03:00
`Function GetPhoneField(Val Name) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
| Name | --title | String | Field name |
Returns: Structure - Field description
2024-07-10 14:05:58 +03:00
<br/>
2024-07-10 13:58:29 +03:00
```bsl title="Code example"
2024-07-10 14:24:11 +03:00
Name = "Phone";
Response = OPI_Airtable.GetPhoneField(Name); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```
```sh title="CLI command example"
oint airtable GetPhoneField --title "Phone"
```
```json title="Result"
2024-07-10 14:11:17 +03:00
{
"name": "Phone",
"type": "phoneNumber"
}
```