Smartsheet.Api.Internal.RowAttachmentResourcesImpl.ListAttachments C# (CSharp) Method

ListAttachments() public method

Gets a list of all Attachments that are on the Row, including Row and Discussion level Attachments.

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

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 ListAttachments ( long sheetId, long rowId, PaginationParameters paging ) : PaginatedResult
sheetId long the sheetId
rowId long the row Id
paging Smartsheet.Api.Models.PaginationParameters the paging
return PaginatedResult
        public virtual PaginatedResult<Attachment> ListAttachments(long sheetId, long rowId, PaginationParameters paging)
        {
            StringBuilder path = new StringBuilder("sheets/" + sheetId + "/rows/" + rowId + "/attachments");
            if (paging != null)
            {
                path.Append(paging.ToQueryString());
            }
            return this.ListResourcesWithWrapper<Attachment>(path.ToString());
        }