| POST | /lmp-operation |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class LMPOperationRequest
{
public DataProvider provider = null;
public UrlActionType actionType = null;
public Date date = null;
public Boolean isVerified = null;
public Boolean force = null;
public Boolean newVersion = null;
public Boolean forceFromOldDb = null;
public Boolean forceByDay = null;
public Integer duration = null;
public DataProvider getProvider() { return provider; }
public LMPOperationRequest setProvider(DataProvider value) { this.provider = value; return this; }
public UrlActionType getActionType() { return actionType; }
public LMPOperationRequest setActionType(UrlActionType value) { this.actionType = value; return this; }
public Date getDate() { return date; }
public LMPOperationRequest setDate(Date value) { this.date = value; return this; }
public Boolean getIsVerified() { return isVerified; }
public LMPOperationRequest setIsVerified(Boolean value) { this.isVerified = value; return this; }
public Boolean isForce() { return force; }
public LMPOperationRequest setForce(Boolean value) { this.force = value; return this; }
public Boolean isNewVersion() { return newVersion; }
public LMPOperationRequest setNewVersion(Boolean value) { this.newVersion = value; return this; }
public Boolean isForceFromOldDb() { return forceFromOldDb; }
public LMPOperationRequest setForceFromOldDb(Boolean value) { this.forceFromOldDb = value; return this; }
public Boolean isForceByDay() { return forceByDay; }
public LMPOperationRequest setForceByDay(Boolean value) { this.forceByDay = value; return this; }
public Integer getDuration() { return duration; }
public LMPOperationRequest setDuration(Integer value) { this.duration = value; return this; }
}
public static enum DataProvider
{
Undefined(0),
Spp(1),
Ercot(2),
Miso(3),
Caiso(4),
Pjm(5),
Isone(6),
Nyiso(7),
Nw(8),
Sw(9),
Se(10),
Aeso(11),
Ieso(12),
Cenace(20),
Noniso(99),
Eia(100),
Pnm(150),
Nrel(200),
Noaa(210),
Entsoe(1000),
Epias(1010),
Self(10000);
private final int value;
DataProvider(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
public static enum UrlActionType
{
Undefined(0),
RtLmpFiveMin(1),
RtLmpFiveMinPre(2),
RtHourlyLmp(3),
RtHourlyLmpPre(4),
RtMcp(5),
RtAsDemand(6),
RtAsDemandFiveMin(7),
DaAsDemand(8),
AsDemand(9),
RtMcpSup(11),
DaLmp(101),
DaMcp(102),
ErcotAncillaryServicePlan(103),
ErcotAsReports(104),
GenerationOutage(200),
FuelMix(211),
FuelMixHourQuarter(212),
FuelMixHourly(213),
FuelMixDetail(215),
FuelMixForecast(216),
ApplicationQueue(220),
DaShadowPrice(301),
RtShadowPrice(302),
ParFlow(501),
RtMcpZip(1005),
DaMcpZip(1102),
LoadOrDemand(1501),
LoadOrDemandForecast(1502),
Emission(1520),
FuelForecast(1525),
RtBatterArbitrage(2001),
DaBatterArbitrage(2002),
InterfaceFlow(4001),
PpProductionData(5000),
MarginalPrice(5001),
PoolPrice(5002),
AesoAncillary(5003),
AesoStandbyOperatingReserve(5004),
PowerPlant(6000),
PowerPlantMonthly(6001),
PowerPlantYearly(6002),
PowerPlantUtility(6003),
PpProductionDataMonthly(6004),
PpProductionDataYearly(6005),
ErcotApplicationQueue(7000),
ErcotLoadWzData(7001),
PjmLoadHourlyData(7002),
IsoneLoadHourlyData(7003),
NyisoLoadHourlyData(7004),
MisoLoadData(7005),
SppLoadHourlyData(7006),
CaisoLoadData(7007),
SppLoadFiveminData(7008),
PjmLoadFiveminData(7009),
IsoneLoadFiveminData(7010),
NyisoLoadFiveminData(7011),
ErcotLoadFzHourlyData(7012),
ErcotLoadFzFiveminData(7013),
Ercot60dDamGenResourceData(7014),
Ercot60dDamLoadResourceData(7015),
Ercot60dScedGenResourceData(7016),
Ercot60dScedLoadResourceData(7017),
ErcotDamShadowPrices(7018),
ErcotScedShadowPrices(7019),
ErcotRealTimeAddersReserves(7020),
ErcotAsReportsArchive(7021),
ErcotAncillaryServicePlanArchive(7022),
ErcotDayAheadLoadForecast(7023),
ErcotHourlyResourceOutageCapacity(7024),
ErcotHourlySolarReport(7025),
ErcotHourlyWindReport(7026),
ErcotLoadForecastByWeatherZone(7027),
ErcotLoadForecastByZone(7028),
ErcotLoadForecastAll(7029),
ErcotShortTermSystemAdequacy(7030),
ErcotSppPriceCorrections(7031),
ErcotTemperatureForecastByZone(7032),
ErcotUnplannedResourceOutage(7033),
ErcotHighestPriceAsOfferSelected(7034),
ErcotAvailableSeasonalCapacityForecast(7035),
ErcotGenerationOutages(7036),
CaisoRaCapacity(7401),
IsoneBtmSolar(7402),
IsoneSevenDayWindForecast(7403),
IsoneSevenDaySolarForecast(7404),
NrelFutureData(8000),
EiaGenerationByFuel(9000),
EiaGenerationBySubregion(9001),
EiaDemandForecast(9002),
NyisoFuelMix(10001),
NyisoBtmSolar(10002),
NyisoBtmSolarForecast(10003),
NyisoBtmSolarCapacityTracking(10004),
NyisoLoadForecast(10005),
PjmLoadForecast(10006),
PjmProjectedRtoPeakStats(10007),
PjmLoadForecastHourlyHistorical(10008),
PjmOperationalReserves(10009),
PjmProjectedAreaPeakStats(10010),
PjmSolarForecast5min(10011),
PjmSolarForecastHourly(10012),
PjmSolarGeneration5min(10013),
PjmSolarGenerationByArea(10014),
PjmTransferInterfaceInfo(10015),
PjmTransmissionLimits(10016),
PjmWindForecastHourly(10017),
PjmWindGenerationByArea(10018),
PjmWindGenerationInstantaneous(10019),
SppSolarAndWindForecast(10500),
SppSolarAndWindForecastShortTerm(10501),
SppLoadForecastMidTerm(10502),
SppGenerationCapacity(10503),
SppOperatingReserves(10504),
SppVerCurtailmentsData(10505),
SppLoadForecast(10506),
SppFuelMixDetailedData(10507),
DaErcotLambda(13113),
RtErcotLambda(13114),
RtLmpFiveMinWeekly(-1000),
DaLmpBus(-101),
RtLmpFiveMinBus(-1);
private final int value;
UrlActionType(final int intValue) { value = intValue; }
public int getValue() { return value; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /lmp-operation 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,
force: False,
newVersion: False,
forceFromOldDb: False,
forceByDay: False,
duration: 0
}