| POST | /eia-demand-request |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EIADemandSeriesRequest
{
public String zoneName = null;
public Integer zoneId = null;
public String getZoneName() { return zoneName; }
public EIADemandSeriesRequest setZoneName(String value) { this.zoneName = value; return this; }
public Integer getZoneId() { return zoneId; }
public EIADemandSeriesRequest setZoneId(Integer value) { this.zoneId = value; return this; }
}
}
Java EIADemandSeriesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /eia-demand-request HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"zoneName":"String","zoneId":0}