Click here to Skip to main content
15,890,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to retrieve the data from the smart sheet and store in the sql server
Posted

1 solution

Please refer to their api, http://www.smartsheet.com/developers[^]
 
Share this answer
 
Comments
kalisiddayya 19-Apr-13 1:33am    
there is not proper response from them .can u tell me the url format in c#.
curl https://api.smartsheet.com/1.1/sheets \-H "Authorization: Bearer ACCESS_TOKEN" i got the format it is not working in .c
ZurdoDev 19-Apr-13 7:18am    
I have never used it so I don't know what the proper url should be. What do you mean it is not working?
c_p_ 22-Sep-14 12:39pm    
Hello, try this :)

string token = "your_token_from_smartsheet_admin";
string baseURL = "https://api.smartsheet.com/1.1/sheet";

WebRequest getRequest = WebRequest.Create(baseURL + "s");
getRequest.ContentType = "application/json; charset=utf-8";
getRequest.Method = "GET";
getRequest.Headers.Add("Authorization: Bearer " + token);

Stream dataStream = getRequest.GetResponse().GetResponseStream();
StreamReader objReader = new StreamReader(dataStream);

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900