{ "opencollection": "1.0.0", "info": { "name": "PlanRadar's API Documentation Approval Requests V2 Report Templates V2 API", "version": "2.0" }, "items": [ { "info": { "name": "Report Templates V2", "type": "folder" }, "items": [ { "info": { "name": "Returns all report templates", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v2/:customer_id/report_templates", "params": [ { "name": "customer_id", "value": "", "type": "path" }, { "name": "last_sync_date", "value": "", "type": "query", "description": "is a Unix Timestamp. If it is set, only report templates that were created after that timestamp will be returned" }, { "name": "sort", "value": "", "type": "query" }, { "name": "pagesize", "value": "", "type": "query", "description": "sets the number of report templates that should be returned per page
Maximum is 500, default is 100" }, { "name": "page", "value": "", "type": "query", "description": "sets the number of pages for the returned report templates" }, { "name": "type", "value": "", "type": "query", "description": "limits the response to a specific template type" } ] }, "docs": "This API returns all report templates of a customer. Report templates can be of type PDF or XLS\n Extra parameters can be added to filter and sort the results.
\n Report Template Sorting:\n The results can be sorted by name, creation time or creator\n The sort is always ascending unless the field name is prefixed with a minus i.e. -created-at\n
Example#1: Sorting report templates by the creator\n `/report_templates?sort=created-by`\n
" } ] } ], "bundled": true }