Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Use API to get Smartsheet Row Id's
Hi
In order to intergrate another Application I would like to use the API to request a list of Smartsheet row ID's and selected columns (possibly just 1 column which the the primary key in the other application.
This would either be all rows or selected rows.
The best output would be as a CSV file eg:
mySheetRowIDs.csv
ID, Column-n
6303407879466884,NP1234
7652086333630340,NP1250
.......
Where NP1234 is the selected column.
I could cope if the whole row was exported as CSV as long as I get the RowiD in a regular possition.
Other file formats would be accespable but the ouput from GETSHEET is hard to unravel for me
I want to run this task programaticaly so we can keep the row ID updated in the other application ready to send updates by API.
Thanks for any tips
Chris
Comments
-
Hi Chris,
You can download a sheet using
GET https://api.smartsheet.com/2.0/sheets/{sheetId}
By default you will get the sheet contents in JSON, but if you want CSV, add an additional HTTP header "Accept: text/csv"
Details here: http://smartsheet-platform.github.io/api-docs/?shell#get-sheet-as-excel-pdf-csv
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives