| POST | /power-plants-emissions-yearly-save |
|---|
import Foundation
import ServiceStack
public class PowerPlantEmissionsYearlySaveRequest : Codable
{
public var requestedYears:[Int] = []
required public init(){}
}
Swift PowerPlantEmissionsYearlySaveRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /power-plants-emissions-yearly-save HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"requestedYears":[0]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{}