| POST | /pp-emission-job |
|---|
"use strict";
/** @typedef {number} */
export var DataSumType;
(function (DataSumType) {
DataSumType[DataSumType["Undefined"] = 0] = "Undefined"
DataSumType[DataSumType["Hourly"] = 1] = "Hourly"
DataSumType[DataSumType["Daily"] = 2] = "Daily"
DataSumType[DataSumType["Weekly"] = 3] = "Weekly"
DataSumType[DataSumType["Monthly"] = 4] = "Monthly"
DataSumType[DataSumType["Yearly"] = 5] = "Yearly"
DataSumType[DataSumType["SeasonalMonthHour"] = 11] = "SeasonalMonthHour"
DataSumType[DataSumType["SolarWind"] = 12] = "SolarWind"
})(DataSumType || (DataSumType = {}));
export class PowerPlantEmissionJobRequest {
/** @param {{sumType?:DataSumType}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {DataSumType} */
sumType;
}
JavaScript PowerPlantEmissionJobRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /pp-emission-job HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"sumType":"Undefined"}