Power.Dev Hangfire Services

<back to all web services

AWSS3ParquetChangeNodeIdRequest

The following routes are available for this service:
POST/awss3-parquet-change-nodeid
"use strict";
/** @typedef {number} */
export var PriceMarketType;
(function (PriceMarketType) {
    PriceMarketType[PriceMarketType["Undefined"] = 0] = "Undefined"
    PriceMarketType[PriceMarketType["Realtime"] = 1] = "Realtime"
    PriceMarketType[PriceMarketType["DayAhead"] = 10] = "DayAhead"
    PriceMarketType[PriceMarketType["DART"] = 101] = "DART"
})(PriceMarketType || (PriceMarketType = {}));
export class AWSS3ParquetChangeNodeIdRequest {
    /** @param {{marketType?:PriceMarketType,fromId?:number,toId?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {PriceMarketType} */
    marketType;
    /** @type {number} */
    fromId;
    /** @type {number} */
    toId;
}

JavaScript AWSS3ParquetChangeNodeIdRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /awss3-parquet-change-nodeid HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"marketType":"Undefined","fromId":0,"toId":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{}