Is the Owner/Owner_id attribute broken?

I'm using Python and I've tried numerous ways to obtain the owner of various sheets via the API but it always returns "None," regardless of whether or not I include owner info in the get sheet command.

I can get the owners of sheets when listing org sheets but the API documentation and the github repository seem to make it clear that owner and owner_id should be able to be queried for a sheet.

I know the Smartsheet API documentation can be spotty...has anyone found a way to get this information or can anyone confirm for sure that it's broken?

Thank you!

Best Answer

Answers

  • Genevieve P.
    Genevieve P. Employee Admin
    Answer ✓

    Hi @ericncarr

    You can get the information on a sheet owner by using "ownerInfo" as a parameter to include (see the query parameters for GetSheet, here: https://smartsheet.redoc.ly/#operation/getSheet)

    The output will tell you the ownerId, as well as the owner email.

    Cheers!

    Genevieve

  • Thank you Genevieve! That was simple enough - I was putting in "owner_Info" , similar to how you'd put in row_numbers = and just got hung up.... good to know!

    Looking at the docs though, is it correct that there isn't the same parameter for dashboards and reports?

  • Genevieve P.
    Genevieve P. Employee Admin

    Hi @ericncarr

    You are correct, I don't see this parameter for a Report or Dashboard. Please submit your request to the API team through this form, here.

    Thanks,

    Genevieve

  • Done. Thanks again!