Get list of records
Gets the list of records of the selected table
Function GetListOfRecords(Val Token, Val Base, Val Table, Val Indent = "") Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Base | --base | String | ✔ | Database identifier |
Table | --table | String | ✔ | Table identifier |
Indent | --offset | String | ✖ | Next 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);
- Bash
- CMD/Bat
oint airtable GetListOfRecords \
--token "***" \
--base "appk3Fw5gwni4SWYj" \
--table "tblIT2QrATF0xn2YE"
oint airtable GetListOfRecords ^
--token "***" ^
--base "appk3Fw5gwni4SWYj" ^
--table "tblIT2QrATF0xn2YE"
Result
{
"records": [
{
"id": "recMPMkPT6RzcSyqt",
"createdTime": "2024-10-09T06:15:49Z",
"fields": {
"Number": 10,
"String": "Hello\n"
}
}
]
}