{
  "opencollection": "1.0.0",
  "info": {
    "name": "Clio API Documentation Activities Report Presets API",
    "version": "v4"
  },
  "items": [
    {
      "info": {
        "name": "Report Presets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Generate a new report for a given preset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.clio.com/api/v4/report_presets/:id/generate_report.json",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the ReportPreset."
              }
            ]
          },
          "docs": "Generate a new report for a given preset"
        },
        {
          "info": {
            "name": "Return the data for all ReportPresets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.clio.com/api/v4/report_presets.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "category",
                "value": "",
                "type": "query",
                "description": "Filters ReportPreset data by category."
              },
              {
                "name": "created_since",
                "value": "",
                "type": "query",
                "description": "Filter ReportPreset records to those having the `created_at` field after a specific time. (Expects an ISO-8601 timestamp)."
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "has_schedule",
                "value": "",
                "type": "query",
                "description": "Filters ReportPreset records to those that have or do not have a Report Schedule."
              },
              {
                "name": "ids[]",
                "value": "",
                "type": "query",
                "description": "Filter ReportPreset records to those having the specified unique identifiers."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "A limit on the number of ReportPreset records to be returned. Limit can range between 1 and 200. Default: `200`."
              },
              {
                "name": "order",
                "value": "",
                "type": "query",
                "description": "Orders the ReportPreset records by the given field. Default: `id(asc)`."
              },
              {
                "name": "output_format",
                "value": "",
                "type": "query",
                "description": "Filters ReportPreset data by format."
              },
              {
                "name": "page_token",
                "value": "",
                "type": "query",
                "description": "A token specifying which page to return."
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Wildcard search for ReportPreset name."
              },
              {
                "name": "schedule_frequency",
                "value": "",
                "type": "query",
                "description": "Filters ReportPreset records to those that have a Report Schedule of the specified frequency."
              },
              {
                "name": "updated_since",
                "value": "",
                "type": "query",
                "description": "Filter ReportPreset records to those having the `updated_at` field after a specific time. (Expects an ISO-8601 timestamp)."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when requesting the data for all ReportPresets"
        },
        {
          "info": {
            "name": "Create a new ReportPreset",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.clio.com/api/v4/report_presets.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Outlines the parameters and data fields used when creating a new ReportPreset"
        },
        {
          "info": {
            "name": "Return the data for a single ReportPreset",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.clio.com/api/v4/report_presets/:id.json",
            "headers": [
              {
                "name": "IF-MODIFIED-SINCE",
                "value": ""
              },
              {
                "name": "IF-NONE-MATCH",
                "value": ""
              },
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the ReportPreset."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when requesting the data for a single ReportPreset"
        },
        {
          "info": {
            "name": "Update a single ReportPreset",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://app.clio.com/api/v4/report_presets/:id.json",
            "headers": [
              {
                "name": "IF-MATCH",
                "value": ""
              },
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "The fields to be returned. See response samples for what fields are available. For more information see the [fields section](#section/Fields)."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the ReportPreset."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Outlines the parameters and data fields used when updating a single ReportPreset"
        },
        {
          "info": {
            "name": "Delete a single ReportPreset",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.clio.com/api/v4/report_presets/:id.json",
            "headers": [
              {
                "name": "X-API-VERSION",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier for the ReportPreset."
              }
            ]
          },
          "docs": "Outlines the parameters, optional and required, used when deleting the record for a single ReportPreset"
        }
      ]
    }
  ],
  "bundled": true
}