Smartsheet.Api.Internal.RowDiscussionResourcesImpl.CreateDiscussion C# (CSharp) Method

CreateDiscussion() public method

Creates a new Discussion on a Row.

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

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 CreateDiscussion ( long sheetId, long rowId, Discussion discussion ) : Discussion
sheetId long the id of the sheet
rowId long the id of the row
discussion Smartsheet.Api.Models.Discussion the discussion to add
return Smartsheet.Api.Models.Discussion
        public virtual Discussion CreateDiscussion(long sheetId, long rowId, Discussion discussion)
        {
            return this.CreateResource("sheets/" + sheetId + "/rows/" + rowId + "/discussions", typeof(Discussion), discussion);
        }