1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Airtable/Comment-management/Edit-comment.md
T
Vitaly the Alpaca (bot) 9c977d53e1 Main build (Jenkins)
2024-10-06 16:55:08 +03:00

1.6 KiB

sidebar_position
sidebar_position
3

Modify comment

Changes the text of an existing comment

Function EditComment(Val Token, Val Base, Val Table, Val Record, Val Comment, Val Text) Export

Parameter CLI option Type Description
Token --token String Token
Base --base String Database identifier
Table --table String Table identifier
Record --record String Record identifier in the table
Comment --comment String Comment identifier
Text --text String New comment text

Returns: Map Of KeyAndValue - serialized JSON response from Airtable


    Token   = "patNn4BXW66Yx3pdj.5b93c53cab554a8387de02d...";
    Base    = "app9bSgL4YtTVGTlE";
    Table   = "tblDUGAZFZaeOwE6x";
    Record  = "recydoiybO8id17n5";
    Comment = "com8s9ZPVoWQ9JN9o";

    Text   = "Test comment (change.)";
    Result = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text);

    OPI_TestDataRetrieval.Check_ATText(Result, Text);
    
  oint airtable EditComment --token %token% --base "apptm8Xqo7TwMaipQ" --table "tbl9G4jVoTJpxYwSY" --record "recV6DxeLQMBNJrUk" --comment "comL1oGEDJvIQlMs1" --text "Test comment (change.)"

{
 "id": "comOGzQwZEuRunDYr",
 "author": {
  "id": "usrFlaAHlTfYWAbVW",
  "email": "bayselonarrend@gmail.com",
  "name": "Антон Титовец"
 },
 "text": "Test comment (change.)",
 "createdTime": "2024-10-05T15:01:28Z",
 "lastUpdatedTime": "2024-10-05T15:01:28.64Z"
}