Skip to main content

Get list of records

Gets the list of records of the selected table

Function GetListOfRecords(Val Token, Val Base, Val Table, Val Indent = "") Export

ParameterCLI optionTypeRequiredDescription
Token--tokenStringToken
Base--baseStringDatabase identifier
Table--tableStringTable identifier
Indent--offsetStringNext page identifier of data from the previous request

Returns: Map Of KeyAndValue - serialized JSON response from Airtable


1C:Enterprise/OneScript code example
    Token = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
Base = "appeMvjrOQPJciL7O";
Table = "tblQdiEo3yKV0e1cj";

Result = OPI_Airtable.GetListOfRecords(Token, Base, Table);
    oint airtable GetListOfRecords \
--token "***" \
--base "appk3Fw5gwni4SWYj" \
--table "tblIT2QrATF0xn2YE"
Result
{
"records": [
{
"id": "recMPMkPT6RzcSyqt",
"createdTime": "2024-10-09T06:15:49Z",
"fields": {
"Number": 10,
"String": "Hello\n"
}
}
]
}