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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives