GetRow() public method

Gets the Row specified in the URL.

It mirrors To the following Smartsheet REST API method: GET /sheets/{sheetId}/rows/{rowId}

if any argument is null or empty string if there is any problem with the REST API request if there is any problem with the REST API authorization (access token) if the resource cannot be found if the REST API service is not available (possibly due To rate limiting) if there is any other error during the operation
public GetRow ( long sheetId, long rowId, IEnumerable include, IEnumerable exclude ) : Row
sheetId long the sheetId
rowId long the rowId
include IEnumerable comma-separated list of elements to include in the response.
exclude IEnumerable a comma-separated list of optional objects to exclude in the response.
return Row
Esempio n. 1
0
        public virtual void TestGetRow()
        {
            server.setResponseBody("../../../TestSDK/resources/getRow.json");

            Row row = sheetRowResource.GetRow(1234L, 1);

            Assert.NotNull(row);
            Assert.True(1 == row.RowNumber, "Wrong row retrieved.");
        }
Esempio n. 2
0
        public virtual void TestGetRow()
        {
            server.setResponseBody("../../../TestSDK/resources/getRow.json");

            Row row = sheetRowResource.GetRow(1, 1, null, null);

            Assert.AreEqual(row.Expanded, true);
            Assert.NotNull(row);
            Assert.True(1 == row.RowNumber, "Wrong row retrieved.");
        }