latestOpenAPI 3.0.12026-08-103995881.2 MB

053edab62415

estimation_methods

Search and list Estimation Methods

post/app/v1/estimation_methods/search

Query parameters

periodstring
Example:202101

year month (YYYYMM), defaulting to the current time, indicates which time period to return the attributes and custom attributes from

Request body

pagenumber

Which page to return

page_sizenumber

How many items to list in a page

sort_by'name' | 'entity_id' | 'entity_type' | 'analytics_library_id' | 'analytics_calculator_id' | 'created_at' | 'updated_at'
sort_direction'asc' | 'desc'

Sort direction

Example request

{
  "page_size": 20,
  "sort_by": "name",
  "sort_direction": "desc",
  "filter": {
    "$or": [
      {
        "entity_type": "equipment"
      },
      {
        "name": {
          "$like": "Emissions"
        }
      }
    ]
  }
}

Response

Successfully something

page_numbernumber
page_sizenumber
total_entriesnumber
total_pagesnumber

Example response

{
  "page_size": 10,
  "total_entries": 58,
  "total_pages": 6,
  "data": [
    {
      "analytics_library_id": "2024-SubpartW",
      "analytics_calculator_id": "2024-SubpartW-AcidGasRemovalMethod1",
      "name": "SubpartW AGR Method",
      "default_values": {
        "fuel_type": {
          "value": "Eastern",
          "unit": "",
          "measurement_type": "measurement_type",
          "measurement_quantity": "dimensionless_coefficient"
        },
        "volume": {
          "value": 5,
          "unit": "e3m3",
          "measurement_type": "measurement_type",
          "measurement_quantity": "volume"
        }
      },
      "default_asset_values": {
        "a04b4387-5145-4935-9edc-d53ecdb7a6c0": {
          "fuel_type": {
            "value": "Eastern",
            "unit": "",
            "measurement_type": "measurement_type",
            "measurement_quantity": "dimensionless_coefficient"
          },
          "volume": {
            "value": 5,
            "unit": "e3m3",
            "measurement_type": "measurement_type",
            "measurement_quantity": "volume"
          }
        },
        "99a45dd3-6ce1-4290-9d16-79415111cc43": {
          "fuel_type": {
            "value": "Eastern",
            "unit": "",
            "measurement_type": "measurement_type",
            "measurement_quantity": "dimensionless_coefficient"
          },
          "volume": {
            "value": 5,
            "unit": "e3m3",
            "measurement_type": "measurement_type",
            "measurement_quantity": "volume"
          }
        }
      },
      "flow": {
        "custom_attributes": {
          "attribute1": 12345,
          "attribute2": "value1"
        },
        "associated_facility": {
          "custom_attributes": {
            "attribute1": 12345,
            "attribute2": "value1"
          }
        }
      },
      "equipment": {
        "effective_date": "2021-01-01",
        "custom_attributes": {
          "attribute1": 12345,
          "attribute2": "value1"
        }
      }
    }
  ]
}