I want to add a filter to the header in my google sheet. I found THIS ANSWER 
<http://stackoverflow.com/questions/38111483/looking-for-examples-how-to-use-the-google-sheets-api-filtercriteria-object>
 using 
C# and tried to build the JSON from it. This is what I come up with but no 
luck :


{'AddFilterViewRequest' : {
      'AddFilterViewResponse': {
      'Filter' : {
                  'FilterView': {
                  'title' : "Hide rows with errors",
                  'range': {'sheetId': sheet_id,
                            'startRowIndex': 0,
                            'endRowIndex': 2,
                            'startColumnIndex': 1,
                            'endColumnIndex': 31}
                  }
      }
      }}}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to