Smartsheet API复制并粘贴同一工作表中的行

2024-10-03 21:26:25 发布

您现在位置:Python中文网/ 问答频道 /正文

是否可以使用smartsheet api在单个工作表中复制和粘贴行? 我正在使用python

尝试以下操作时(使用相同的图纸id)

response = smartsheet_client.Sheets.copy_rows(
 <MySheetID>,
 smartsheet.models.CopyOrMoveRowDirective({
            'row_ids': [<MyRowID>],
            'to': smartsheet.models.CopyOrMoveRowDestination({
              'sheet_id': <MySheetID>
            })
          })
        )

我得到以下错误 “无法复制或移动同一工作表中的行。”


Tags: clientapiidids粘贴modelsresponserows