| POST | /ercot-real-time-adders-reserves |
|---|
import 'package:servicestack/servicestack.dart';
class ErcotRealTimeAddersReservesRequest implements IConvertible
{
int? docId;
ErcotRealTimeAddersReservesRequest({this.docId});
ErcotRealTimeAddersReservesRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
docId = json['docId'];
return this;
}
Map<String, dynamic> toJson() => {
'docId': docId
};
getTypeName() => "ErcotRealTimeAddersReservesRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'catalog_jobs_dev.power.dev', types: <String, TypeInfo> {
'ErcotRealTimeAddersReservesRequest': TypeInfo(TypeOf.Class, create:() => ErcotRealTimeAddersReservesRequest()),
});
Dart ErcotRealTimeAddersReservesRequest 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 /ercot-real-time-adders-reserves HTTP/1.1
Host: catalog-jobs-dev.power.dev
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"docId":0}