SheetRowResources Methods | ![]() |
The SheetRowResources type exposes the following members.
Name | Description | |
---|---|---|
![]() | AddRows | Inserts one or more rows into the Sheet specified in the URL. It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows ![]() If multiple rows are specified in the request, all rows must be inserted at the same location
(i.e. the toTop, toBottom, parentId, siblingId, and above attributes must be the same for all rows in the request). |
![]() | AddRowsAllowPartialSuccess | Inserts one or more rows into the Sheet specified in the URL with allowPartialSuccess. It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows?allowPartialSuccess=true ![]() If multiple rows are specified in the request, all rows must be inserted at the same location
(i.e. the toTop, toBottom, parentId, siblingId, and above attributes must be the same for all rows in the request). |
![]() | CopyRowsToAnotherSheet | Copies Row(s) from the Sheet specified in the URL to (the bottom of) another sheet. It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/copy ![]() Up to 5,000 row IDs can be specified in the request,
but if the total number of rows in the destination sheet after the copy exceeds the Smartsheet row limit,
an error response will be returned. |
![]() | DeleteRows | Deletes the Row specified in the URL. It mirrors to the following Smartsheet REST API method: DELETE /sheets/{sheetId}/rows/{rowId} ![]() This operation will delete ALL child Rows of the specified Row. |
![]() | GetRow | Gets the Row specified in the URL. It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/rows/{rowId} |
![]() | MoveRowsToAnotherSheet | Moves Row(s) from the Sheet specified in the URL to (the bottom of) another sheet. It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/copy ![]() Up to 5,000 row IDs can be specified in the request, but if the total number of rows in the destination sheet after the copy exceeds the Smartsheet row limit, an error response will be returned. Any child rows of the rows specified in the request will also be moved. Parent-child relationships amongst rows will be preserved within the destination sheet. |
![]() | SendRows | Sends one or more Rows via email. It mirrors to the following Smartsheet REST API method: POST /sheets/{sheetId}/rows/emails |
![]() | UpdateRows | Updates cell values in the specified row(s), expands/collapses the specified row(s), and/or modifies the position of specified rows (including indenting/outdenting). It mirrors to the following Smartsheet REST API method: PUT /sheets/{sheetId}/rows ![]() If a row’s position is updated, all child rows are moved with the row. |
![]() | UpdateRowsAllowPartialSuccess | Updates cell values in the specified row(s), expands/collapses the specified row(s), and/or modifies the position of specified rows (including indenting/outdenting). It mirrors to the following Smartsheet REST API method: PUT /sheets/{sheetId}/rows?allowPartialSuccess=true ![]() If a row’s position is updated, all child rows are moved with the row. |