Power.Dev Hangfire Services

<back to all web services

LMPJobRequest

The following routes are available for this service:
POST/lmp-job
GET/lmp-job/{Provider}/{ActionType}
GET/lmp-job/{Provider}/{ActionType}/{Date}
GET/lmp-job/{Provider}/{ActionType}/{Date}/{IsVerified}
"use strict";
/** @typedef {number} */
export var DataProvider;
(function (DataProvider) {
    DataProvider[DataProvider["Undefined"] = 0] = "Undefined"
    DataProvider[DataProvider["SPP"] = 1] = "SPP"
    DataProvider[DataProvider["ERCOT"] = 2] = "ERCOT"
    DataProvider[DataProvider["MISO"] = 3] = "MISO"
    DataProvider[DataProvider["CAISO"] = 4] = "CAISO"
    DataProvider[DataProvider["PJM"] = 5] = "PJM"
    DataProvider[DataProvider["ISONE"] = 6] = "ISONE"
    DataProvider[DataProvider["NYISO"] = 7] = "NYISO"
    DataProvider[DataProvider["NW"] = 8] = "NW"
    DataProvider[DataProvider["SW"] = 9] = "SW"
    DataProvider[DataProvider["SE"] = 10] = "SE"
    DataProvider[DataProvider["AESO"] = 11] = "AESO"
    DataProvider[DataProvider["IESO"] = 12] = "IESO"
    DataProvider[DataProvider["CENACE"] = 20] = "CENACE"
    DataProvider[DataProvider["NONISO"] = 99] = "NONISO"
    DataProvider[DataProvider["EIA"] = 100] = "EIA"
    DataProvider[DataProvider["PNM"] = 150] = "PNM"
    DataProvider[DataProvider["NREL"] = 200] = "NREL"
    DataProvider[DataProvider["NOAA"] = 210] = "NOAA"
    DataProvider[DataProvider["ENTSOE"] = 1000] = "ENTSOE"
    DataProvider[DataProvider["EPIAS"] = 1010] = "EPIAS"
    DataProvider[DataProvider["SELF"] = 10000] = "SELF"
})(DataProvider || (DataProvider = {}));
/** @typedef {number} */
export var UrlActionType;
(function (UrlActionType) {
    UrlActionType[UrlActionType["Undefined"] = 0] = "Undefined"
    UrlActionType[UrlActionType["rt_lmp_five_min"] = 1] = "rt_lmp_five_min"
    UrlActionType[UrlActionType["rt_lmp_five_min_pre"] = 2] = "rt_lmp_five_min_pre"
    UrlActionType[UrlActionType["rt_hourly_lmp"] = 3] = "rt_hourly_lmp"
    UrlActionType[UrlActionType["rt_hourly_lmp_pre"] = 4] = "rt_hourly_lmp_pre"
    UrlActionType[UrlActionType["rt_mcp"] = 5] = "rt_mcp"
    UrlActionType[UrlActionType["rt_as_demand"] = 6] = "rt_as_demand"
    UrlActionType[UrlActionType["rt_as_demand_five_min"] = 7] = "rt_as_demand_five_min"
    UrlActionType[UrlActionType["da_as_demand"] = 8] = "da_as_demand"
    UrlActionType[UrlActionType["as_demand"] = 9] = "as_demand"
    UrlActionType[UrlActionType["rt_mcp_sup"] = 11] = "rt_mcp_sup"
    UrlActionType[UrlActionType["da_lmp"] = 101] = "da_lmp"
    UrlActionType[UrlActionType["da_mcp"] = 102] = "da_mcp"
    UrlActionType[UrlActionType["ercot_ancillary_service_plan"] = 103] = "ercot_ancillary_service_plan"
    UrlActionType[UrlActionType["ercot_as_reports"] = 104] = "ercot_as_reports"
    UrlActionType[UrlActionType["generation_outage"] = 200] = "generation_outage"
    UrlActionType[UrlActionType["fuel_mix"] = 211] = "fuel_mix"
    UrlActionType[UrlActionType["fuel_mix_hour_quarter"] = 212] = "fuel_mix_hour_quarter"
    UrlActionType[UrlActionType["fuel_mix_hourly"] = 213] = "fuel_mix_hourly"
    UrlActionType[UrlActionType["fuel_mix_detail"] = 215] = "fuel_mix_detail"
    UrlActionType[UrlActionType["fuel_mix_forecast"] = 216] = "fuel_mix_forecast"
    UrlActionType[UrlActionType["application_queue"] = 220] = "application_queue"
    UrlActionType[UrlActionType["da_shadow_price"] = 301] = "da_shadow_price"
    UrlActionType[UrlActionType["rt_shadow_price"] = 302] = "rt_shadow_price"
    UrlActionType[UrlActionType["par_flow"] = 501] = "par_flow"
    UrlActionType[UrlActionType["rt_mcp_zip"] = 1005] = "rt_mcp_zip"
    UrlActionType[UrlActionType["da_mcp_zip"] = 1102] = "da_mcp_zip"
    UrlActionType[UrlActionType["load_or_demand"] = 1501] = "load_or_demand"
    UrlActionType[UrlActionType["load_or_demand_forecast"] = 1502] = "load_or_demand_forecast"
    UrlActionType[UrlActionType["emission"] = 1520] = "emission"
    UrlActionType[UrlActionType["fuel_forecast"] = 1525] = "fuel_forecast"
    UrlActionType[UrlActionType["rt_batter_arbitrage"] = 2001] = "rt_batter_arbitrage"
    UrlActionType[UrlActionType["da_batter_arbitrage"] = 2002] = "da_batter_arbitrage"
    UrlActionType[UrlActionType["interface_flow"] = 4001] = "interface_flow"
    UrlActionType[UrlActionType["pp_production_data"] = 5000] = "pp_production_data"
    UrlActionType[UrlActionType["marginal_price"] = 5001] = "marginal_price"
    UrlActionType[UrlActionType["pool_price"] = 5002] = "pool_price"
    UrlActionType[UrlActionType["aeso_ancillary"] = 5003] = "aeso_ancillary"
    UrlActionType[UrlActionType["aeso_standby_operating_reserve"] = 5004] = "aeso_standby_operating_reserve"
    UrlActionType[UrlActionType["power_plant"] = 6000] = "power_plant"
    UrlActionType[UrlActionType["power_plant_monthly"] = 6001] = "power_plant_monthly"
    UrlActionType[UrlActionType["power_plant_yearly"] = 6002] = "power_plant_yearly"
    UrlActionType[UrlActionType["power_plant_utility"] = 6003] = "power_plant_utility"
    UrlActionType[UrlActionType["pp_production_data_monthly"] = 6004] = "pp_production_data_monthly"
    UrlActionType[UrlActionType["pp_production_data_yearly"] = 6005] = "pp_production_data_yearly"
    UrlActionType[UrlActionType["ercot_application_queue"] = 7000] = "ercot_application_queue"
    UrlActionType[UrlActionType["ercot_load_wz_data"] = 7001] = "ercot_load_wz_data"
    UrlActionType[UrlActionType["pjm_load_hourly_data"] = 7002] = "pjm_load_hourly_data"
    UrlActionType[UrlActionType["isone_load_hourly_data"] = 7003] = "isone_load_hourly_data"
    UrlActionType[UrlActionType["nyiso_load_hourly_data"] = 7004] = "nyiso_load_hourly_data"
    UrlActionType[UrlActionType["miso_load_data"] = 7005] = "miso_load_data"
    UrlActionType[UrlActionType["spp_load_hourly_data"] = 7006] = "spp_load_hourly_data"
    UrlActionType[UrlActionType["caiso_load_data"] = 7007] = "caiso_load_data"
    UrlActionType[UrlActionType["spp_load_fivemin_data"] = 7008] = "spp_load_fivemin_data"
    UrlActionType[UrlActionType["pjm_load_fivemin_data"] = 7009] = "pjm_load_fivemin_data"
    UrlActionType[UrlActionType["isone_load_fivemin_data"] = 7010] = "isone_load_fivemin_data"
    UrlActionType[UrlActionType["nyiso_load_fivemin_data"] = 7011] = "nyiso_load_fivemin_data"
    UrlActionType[UrlActionType["ercot_load_fz_hourly_data"] = 7012] = "ercot_load_fz_hourly_data"
    UrlActionType[UrlActionType["ercot_load_fz_fivemin_data"] = 7013] = "ercot_load_fz_fivemin_data"
    UrlActionType[UrlActionType["ercot_60d_dam_gen_resource_data"] = 7014] = "ercot_60d_dam_gen_resource_data"
    UrlActionType[UrlActionType["ercot_60d_dam_load_resource_data"] = 7015] = "ercot_60d_dam_load_resource_data"
    UrlActionType[UrlActionType["ercot_60d_sced_gen_resource_data"] = 7016] = "ercot_60d_sced_gen_resource_data"
    UrlActionType[UrlActionType["ercot_60d_sced_load_resource_data"] = 7017] = "ercot_60d_sced_load_resource_data"
    UrlActionType[UrlActionType["ercot_dam_shadow_prices"] = 7018] = "ercot_dam_shadow_prices"
    UrlActionType[UrlActionType["ercot_sced_shadow_prices"] = 7019] = "ercot_sced_shadow_prices"
    UrlActionType[UrlActionType["ercot_real_time_adders_reserves"] = 7020] = "ercot_real_time_adders_reserves"
    UrlActionType[UrlActionType["ercot_as_reports_archive"] = 7021] = "ercot_as_reports_archive"
    UrlActionType[UrlActionType["ercot_ancillary_service_plan_archive"] = 7022] = "ercot_ancillary_service_plan_archive"
    UrlActionType[UrlActionType["ercot_day_ahead_load_forecast"] = 7023] = "ercot_day_ahead_load_forecast"
    UrlActionType[UrlActionType["ercot_hourly_resource_outage_capacity"] = 7024] = "ercot_hourly_resource_outage_capacity"
    UrlActionType[UrlActionType["ercot_hourly_solar_report"] = 7025] = "ercot_hourly_solar_report"
    UrlActionType[UrlActionType["ercot_hourly_wind_report"] = 7026] = "ercot_hourly_wind_report"
    UrlActionType[UrlActionType["ercot_load_forecast_by_weather_zone"] = 7027] = "ercot_load_forecast_by_weather_zone"
    UrlActionType[UrlActionType["ercot_load_forecast_by_zone"] = 7028] = "ercot_load_forecast_by_zone"
    UrlActionType[UrlActionType["ercot_load_forecast_all"] = 7029] = "ercot_load_forecast_all"
    UrlActionType[UrlActionType["ercot_short_term_system_adequacy"] = 7030] = "ercot_short_term_system_adequacy"
    UrlActionType[UrlActionType["ercot_spp_price_corrections"] = 7031] = "ercot_spp_price_corrections"
    UrlActionType[UrlActionType["ercot_temperature_forecast_by_zone"] = 7032] = "ercot_temperature_forecast_by_zone"
    UrlActionType[UrlActionType["ercot_unplanned_resource_outage"] = 7033] = "ercot_unplanned_resource_outage"
    UrlActionType[UrlActionType["ercot_highest_price_as_offer_selected"] = 7034] = "ercot_highest_price_as_offer_selected"
    UrlActionType[UrlActionType["ercot_available_seasonal_capacity_forecast"] = 7035] = "ercot_available_seasonal_capacity_forecast"
    UrlActionType[UrlActionType["ercot_generation_outages"] = 7036] = "ercot_generation_outages"
    UrlActionType[UrlActionType["caiso_ra_capacity"] = 7401] = "caiso_ra_capacity"
    UrlActionType[UrlActionType["isone_btm_solar"] = 7402] = "isone_btm_solar"
    UrlActionType[UrlActionType["isone_seven_day_wind_forecast"] = 7403] = "isone_seven_day_wind_forecast"
    UrlActionType[UrlActionType["isone_seven_day_solar_forecast"] = 7404] = "isone_seven_day_solar_forecast"
    UrlActionType[UrlActionType["nrel_future_data"] = 8000] = "nrel_future_data"
    UrlActionType[UrlActionType["eia_generation_by_fuel"] = 9000] = "eia_generation_by_fuel"
    UrlActionType[UrlActionType["eia_generation_by_subregion"] = 9001] = "eia_generation_by_subregion"
    UrlActionType[UrlActionType["eia_demand_forecast"] = 9002] = "eia_demand_forecast"
    UrlActionType[UrlActionType["nyiso_fuel_mix"] = 10001] = "nyiso_fuel_mix"
    UrlActionType[UrlActionType["nyiso_btm_solar"] = 10002] = "nyiso_btm_solar"
    UrlActionType[UrlActionType["nyiso_btm_solar_forecast"] = 10003] = "nyiso_btm_solar_forecast"
    UrlActionType[UrlActionType["nyiso_btm_solar_capacity_tracking"] = 10004] = "nyiso_btm_solar_capacity_tracking"
    UrlActionType[UrlActionType["nyiso_load_forecast"] = 10005] = "nyiso_load_forecast"
    UrlActionType[UrlActionType["pjm_load_forecast"] = 10006] = "pjm_load_forecast"
    UrlActionType[UrlActionType["pjm_projected_rto_peak_stats"] = 10007] = "pjm_projected_rto_peak_stats"
    UrlActionType[UrlActionType["pjm_load_forecast_hourly_historical"] = 10008] = "pjm_load_forecast_hourly_historical"
    UrlActionType[UrlActionType["pjm_operational_reserves"] = 10009] = "pjm_operational_reserves"
    UrlActionType[UrlActionType["pjm_projected_area_peak_stats"] = 10010] = "pjm_projected_area_peak_stats"
    UrlActionType[UrlActionType["pjm_solar_forecast_5min"] = 10011] = "pjm_solar_forecast_5min"
    UrlActionType[UrlActionType["pjm_solar_forecast_hourly"] = 10012] = "pjm_solar_forecast_hourly"
    UrlActionType[UrlActionType["pjm_solar_generation_5min"] = 10013] = "pjm_solar_generation_5min"
    UrlActionType[UrlActionType["pjm_solar_generation_by_area"] = 10014] = "pjm_solar_generation_by_area"
    UrlActionType[UrlActionType["pjm_transfer_interface_info"] = 10015] = "pjm_transfer_interface_info"
    UrlActionType[UrlActionType["pjm_transmission_limits"] = 10016] = "pjm_transmission_limits"
    UrlActionType[UrlActionType["pjm_wind_forecast_hourly"] = 10017] = "pjm_wind_forecast_hourly"
    UrlActionType[UrlActionType["pjm_wind_generation_by_area"] = 10018] = "pjm_wind_generation_by_area"
    UrlActionType[UrlActionType["pjm_wind_generation_instantaneous"] = 10019] = "pjm_wind_generation_instantaneous"
    UrlActionType[UrlActionType["spp_solar_and_wind_forecast"] = 10500] = "spp_solar_and_wind_forecast"
    UrlActionType[UrlActionType["spp_solar_and_wind_forecast_short_term"] = 10501] = "spp_solar_and_wind_forecast_short_term"
    UrlActionType[UrlActionType["spp_load_forecast_mid_term"] = 10502] = "spp_load_forecast_mid_term"
    UrlActionType[UrlActionType["spp_generation_capacity"] = 10503] = "spp_generation_capacity"
    UrlActionType[UrlActionType["spp_operating_reserves"] = 10504] = "spp_operating_reserves"
    UrlActionType[UrlActionType["spp_ver_curtailments_data"] = 10505] = "spp_ver_curtailments_data"
    UrlActionType[UrlActionType["spp_load_forecast"] = 10506] = "spp_load_forecast"
    UrlActionType[UrlActionType["spp_fuel_mix_detailed_data"] = 10507] = "spp_fuel_mix_detailed_data"
    UrlActionType[UrlActionType["da_ercot_lambda"] = 13113] = "da_ercot_lambda"
    UrlActionType[UrlActionType["rt_ercot_lambda"] = 13114] = "rt_ercot_lambda"
    UrlActionType[UrlActionType["rt_lmp_five_min_weekly"] = -1000] = "rt_lmp_five_min_weekly"
    UrlActionType[UrlActionType["da_lmp_bus"] = -101] = "da_lmp_bus"
    UrlActionType[UrlActionType["rt_lmp_five_min_bus"] = -1] = "rt_lmp_five_min_bus"
})(UrlActionType || (UrlActionType = {}));
export class LMPJobRequest {
    /** @param {{provider?:DataProvider,actionType?:UrlActionType,date?:string,isVerified?:boolean,isHistorical?:boolean,forceByDay?:boolean,forceOldDb?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {DataProvider} */
    provider;
    /** @type {UrlActionType} */
    actionType;
    /** @type {string} */
    date;
    /** @type {boolean} */
    isVerified;
    /** @type {boolean} */
    isHistorical;
    /** @type {boolean} */
    forceByDay;
    /** @type {boolean} */
    forceOldDb;
}

JavaScript LMPJobRequest 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 /lmp-job HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	provider: Undefined,
	actionType: Undefined,
	date: 0001-01-01,
	isVerified: False,
	isHistorical: False,
	forceByDay: False,
	forceOldDb: False
}