Get base tables
Gets the schema of base tables
Function GetDatabaseTables(Val Token, Val Base) Export
| Parameter | CLI option | Type | Required | Description | 
|---|---|---|---|---|
| Token | --token | String | ✔ | Token | 
| Base | --base | String | ✔ | Base identifier | 
Returns: Map Of KeyAndValue - serialized JSON response from Airtable
1C:Enterprise/OneScript code example
    Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
    Base  = "appLC1TVo3riW36dW";
    Result = OPI_Airtable.GetDatabaseTables(Token, Base);
- Bash
- CMD/Bat
    oint airtable GetDatabaseTables \
     --token "***" \
     --base "apppuWpft4xNlV34k"
    oint airtable GetDatabaseTables ^
     --token "***" ^
     --base "apppuWpft4xNlV34k"
Result
{
 "tables": [
  {
   "id": "tblfWMaSMT6aeQgy4",
   "name": "TestTable",
   "primaryFieldId": "fldnGEKQtwkrMPQ2Q",
   "fields": [
    {
     "type": "number",
     "options": {
      "precision": 0
     },
     "id": "fldnGEKQtwkrMPQ2Q",
     "name": "Number"
    },
    {
     "type": "richText",
     "id": "fldYOo4kJJz1esbsF",
     "name": "String"
    }
   ],
   "views": [
    {
     "id": "viwHVXvAX8Yhe1StX",
     "name": "Grid view",
     "type": "grid"
    }
   ]
  }
 ]
}