{
  "opencollection": "1.0.0",
  "info": {
    "name": "WegoWise Apartments Usage Data API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Usage Data",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Building Usage Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.wegowise.com/api/v1/wego_pro/buildings/:id/data",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              },
              {
                "name": "data_type",
                "value": "",
                "type": "query",
                "description": "Filter by utility data type"
              },
              {
                "name": "unit",
                "value": "",
                "type": "query",
                "description": "Unit for returned values"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date for data range (YYYY-MM-DD)"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date for data range (YYYY-MM-DD)"
              }
            ]
          },
          "docs": "Returns normalized monthly energy and water usage data for a building. Data is normalized to account for billing period differences."
        },
        {
          "info": {
            "name": "Get Meter Raw Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.wegowise.com/api/v1/wego_pro/meters/:id/raw_data",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves a collection of datapoints for a given meter. Returns all raw data including manually added datapoints and those imported from utility websites."
        },
        {
          "info": {
            "name": "Create Meter Datapoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.wegowise.com/api/v1/wego_pro/meters/:id/raw_data",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Manually creates a new utility usage datapoint for a meter."
        },
        {
          "info": {
            "name": "Get Meter Monthly Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.wegowise.com/api/v1/wego_pro/meters/:id/data",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              },
              {
                "name": "unit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns normalized monthly data for a specific meter."
        },
        {
          "info": {
            "name": "Get Data Meter Raw Data",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.wegowise.com/api/v1/wego_data/meters/:id/raw_data",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query"
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieves all raw datapoints for a meter including manually added data and automatically imported utility data."
        },
        {
          "info": {
            "name": "Create Data Meter Datapoint",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.wegowise.com/api/v1/wego_data/meters/:id/raw_data",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Manually creates a utility usage datapoint for a data meter."
        },
        {
          "info": {
            "name": "Get Latest Meter Datapoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.wegowise.com/api/v1/wego_data/meters/:id/latest_datum",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Resource identifier"
              }
            ]
          },
          "docs": "Returns the most recent usage datapoint for a meter."
        }
      ]
    }
  ],
  "bundled": true
}