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
-
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
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Answers
-
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
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now -
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?
-
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
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now -
Done. Thanks again!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.5K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 447 Show & Tell
- 29 Member Spotlight
- 1 SmartStories
- 285 Events
- 36 Webinars
- 7.3K Forum Archives