| POST | /nyiso-zip-downloader |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class NyIsoZipDownloaderRequest
{
public UrlActionType fileType = null;
public Date date = null;
public Boolean useDate = null;
public UrlActionType getFileType() { return fileType; }
public NyIsoZipDownloaderRequest setFileType(UrlActionType value) { this.fileType = value; return this; }
public Date getDate() { return date; }
public NyIsoZipDownloaderRequest setDate(Date value) { this.date = value; return this; }
public Boolean isUseDate() { return useDate; }
public NyIsoZipDownloaderRequest setUseDate(Boolean value) { this.useDate = value; return this; }
}
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; }
}
}
Java NyIsoZipDownloaderRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /nyiso-zip-downloader HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: application/json
Content-Type: application/json
Content-Length: length
{"fileType":"Undefined","date":"\/Date(-62135596800000-0000)\/","useDate":false}