Power.Dev Hangfire Services

<back to all web services

PowerPlantEmissionJobRequest

The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

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/jsv
Content-Type: text/jsv
Content-Length: length

{
	sumType: Undefined
}