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.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
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives