Endpoint - reporting Last updated Save as PDF The interface has the following reporting endpoints: Returns a report This returns a report: https://[client_instance].serraview.com/api/v2/reporting/{id} The following is an example of the GET where you want to use a report number to retrieve the data for a report. RequestURL: https://[client_instance].serraview.com/api/v2/reporting/1 This will return: [ { "id": "Table_60", "headers": [ "Building Information", "Allocation" ], "rows": [ [ "Georgia", "Atlanta", "Atlanta Office", "Corporate", "", "0", "6", "0", "0", "6", "6", "0" ], [ "Massachusetts", "Boston", "Boston Office", "Corporate", "", "1660", "50", "42", "3", "47", "50", "0" ], [ "New York", "New York", "New York Office", "Corporate", "", "251", "25", "12", "0", "25", "25", "0" ], [ "Victoria", "Melbourne", "Melbourne Office", "Corporate", "", "673", "59", "56", "32", "27", "38", "21" ], [ "Zagreb", "Zagreb", "Zagreb Office", "Corporate", "", "263", "30", "0", "0", "30", "30", "0" ] ] } ]
Returns a report This returns a report: https://[client_instance].serraview.com/api/v2/reporting/{id} The following is an example of the GET where you want to use a report number to retrieve the data for a report. RequestURL: https://[client_instance].serraview.com/api/v2/reporting/1 This will return: [ { "id": "Table_60", "headers": [ "Building Information", "Allocation" ], "rows": [ [ "Georgia", "Atlanta", "Atlanta Office", "Corporate", "", "0", "6", "0", "0", "6", "6", "0" ], [ "Massachusetts", "Boston", "Boston Office", "Corporate", "", "1660", "50", "42", "3", "47", "50", "0" ], [ "New York", "New York", "New York Office", "Corporate", "", "251", "25", "12", "0", "25", "25", "0" ], [ "Victoria", "Melbourne", "Melbourne Office", "Corporate", "", "673", "59", "56", "32", "27", "38", "21" ], [ "Zagreb", "Zagreb", "Zagreb Office", "Corporate", "", "263", "30", "0", "0", "30", "30", "0" ] ] } ]