1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-10 04:18:47 +02:00
OpenIntegrations/docs/en/examples/Airtable/CreateDatabase.txt
Vitaly the Alpaca (bot) 03444cdacb Main build (Jenkins)
2024-10-02 20:28:02 +03:00

15 lines
459 B
Plaintext

Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
Region = "wspdf8yl1yZz3PmWZ";
Name = "TestDatabase";
FieldArray = New Array;
FieldArray.Add(OPI_Airtable.GetNumberField("Number"));
FieldArray.Add(OPI_Airtable.GetStringField("String"));
TableName = "TestTable";
TableMapping = New Map;
TableMapping.Insert(TableName, FieldArray);
Result = OPI_Airtable.CreateDatabase(Token, Region, Name, TableMapping);