smartsheet.SheetResources.GetSheet(sheetId) Has no overloaded that takes 1 argument.

Options

Hi All,

I am using C# api for SS.

I was exploring documentation code here: https://github.com/smartsheet/smartsheet-csharp-sdk


I can get sheet ID but when I try to get sheet itself, I run into build error that says SheetResources.GetSheet has no overload method that takes 1 argument i.e. SheetID only.

Any ideas why this is happening or how can I rectify this?

Best Answer

  • SafalARYAL
    Answer ✓
    Options

    I think I have found a way to make this work.

    The method had no constructors with 1 argument so we need to put rest of the argument as null.

    This has returned the expected result.

Answers

  • SafalARYAL
    Answer ✓
    Options

    I think I have found a way to make this work.

    The method had no constructors with 1 argument so we need to put rest of the argument as null.

    This has returned the expected result.