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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
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
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Done. Thanks again!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives