Get Cost Rates for a period

To get PERIOD_ID see

Periods

Get Cost Rate calculation for a specific Period

GET https://www.moderan.net/api/domains/DOMAIN_ID/propertysets/0/periods/PERIOD_ID/rates

This endpoint allows you to get Cost Rate calculation for a specific period from Moderan

Path Parameters

Name
Type
Description

DOMAIN_ID*

string

The domain ID of client

PERIOD_ID*

string

The period ID for the Cost period

[
  {
    "id": 15532,
    "costType": {
      "name": "Water",
      "id": 2368
    },
    "subCostType": {
      "name": "Water - Cold",
      "id": 2616,
      "metaString": "Cold"
    },
    "unit": "m3",
    "cost": 0,
    "usage": 75,
    "subCostRatesComponent": 0,
    "rate": 3.45,
    "calculatedRate": 3.45,
    "manualRate": null,
    "manualDisabled": false,
    "generalRateModel": {
      "id": null,
      "costType": {
        "name": "Water",
        "id": 2368
      },
      "subCostType": {
        "name": "General",
        "id": 0
      },
      "unit": null,
      "cost": 310.5,
      "usage": 90,
      "subCostRatesComponent": 3.45,
      "rate": 4.378343558282209,
      "calculatedRate": 4.378343558282209,
      "manualRate": null,
      "manualDisabled": false,
      "generalRateModel": null,
      "createdBy": null,
      "modifiedBy": null,
      "createdDate": null,
      "modifiedDate": null
    },
    "createdBy": null,
    "modifiedBy": null,
    "createdDate": null,
    "modifiedDate": null
  },
  {
    "id": null,
    "costType": {
      "name": "Water",
      "id": 2368
    },
    "subCostType": {
      "name": "General",
      "id": 0
    },
    "unit": null,
    "cost": 310.5,
    "usage": 90,
    "subCostRatesComponent": 3.45,
    "rate": 4.378343558282209,
    "calculatedRate": 4.378343558282209,
    "manualRate": null,
    "manualDisabled": false,
    "generalRateModel": null,
    "createdBy": null,
    "modifiedBy": null,
    "createdDate": null,
    "modifiedDate": null
  },
  {
    "id": 15525,
    "costType": {
      "name": "Electricity",
      "id": 2369
    },
    "subCostType": {
      "name": "Electricity",
      "id": 2369,
      "metaString": "Electricity"
    },
    "unit": "kWh",
    "cost": 1440,
    "usage": 8000,
    "subCostRatesComponent": 0.18,
    "rate": 0.18,
    "calculatedRate": 0.18,
    "manualRate": null,
    "manualDisabled": false,
    "generalRateModel": {
      "id": null,
      "costType": {
        "name": "Electricity",
        "id": 2369
      },
      "subCostType": {
        "name": "General",
        "id": 0
      },
      "unit": null,
      "cost": 0,
      "usage": 8000,
      "subCostRatesComponent": 0,
      "rate": null,
      "calculatedRate": null,
      "manualRate": null,
      "manualDisabled": false,
      "generalRateModel": null,
      "createdBy": null,
      "modifiedBy": null,
      "createdDate": null,
      "modifiedDate": null
    },
    "createdBy": null,
    "modifiedBy": null,
    "createdDate": null,
    "modifiedDate": null
  },
  
  {
    "id": 15531,
    "costType": {
      "name": "Water",
      "id": 2368
    },
    "subCostType": {
      "name": "Water - Warm",
      "id": 2617,
      "metaString": "Warm"
    },
    "unit": "m3",
    "cost": 0,
    "usage": 15,
    "subCostRatesComponent": 0,
    "rate": 15.09,
    "calculatedRate": 15.09,
    "manualRate": null,
    "manualDisabled": false,
    "generalRateModel": {
      "id": null,
      "costType": {
        "name": "Water",
        "id": 2368
      },
      "subCostType": {
        "name": "General",
        "id": 0
      },
      "unit": null,
      "cost": 310.5,
      "usage": 90,
      "subCostRatesComponent": 3.45,
      "rate": 4.378343558282209,
      "calculatedRate": 4.378343558282209,
      "manualRate": null,
      "manualDisabled": false,
      "generalRateModel": null,
      "createdBy": null,
      "modifiedBy": null,
      "createdDate": null,
      "modifiedDate": null
    },
    "createdBy": null,
    "modifiedBy": null,
    "createdDate": null,
    "modifiedDate": null
  }
]

Last updated