Columns not returned when creating a sheet
When I am submitting a POST request to https://api.smartsheet.com/2.0/workspaces/{workspaceId}/sheets in order to create a sheet from a template, the response does not include the columns array.
I assumed that using include=data as a param would get it done, but the response is the same with or without it.
The API docs mention that the result could be two different objects, one with and one without columns, but I see no way to indicate that the columns should be included despite the docs saying it corresponds to what was specified in the request.
Anyone know how to get the columns array to return?
Answers
-
What are you getting back?
Is the sheet actually created?
-
@Leibel S the sheet is created and I'm getting everything back as noted in the API documentation except the columns array.
Is this because I'm creating from a template? Is there no way to get columns to return when doing so? I tried entering columns manually as part of the req and columns were returned.
-
Just realized i ran into the same issue (just issued a GET request afterwards to get the column object)
-
Yeah that's what I've done as well, but it seems a bit ridiculous to think that just because I used a template I wouldn't want the column ids returned.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives