Power.Dev Hangfire Services

<back to all web services

Ercot60dDamGenResourceDataRequest

The following routes are available for this service:
POST/ercot-60d-dam-gen-resource-data
import 'package:servicestack/servicestack.dart';

class Ercot60dDamGenResourceDataRequest implements IConvertible
{
    int? docId;

    Ercot60dDamGenResourceDataRequest({this.docId});
    Ercot60dDamGenResourceDataRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        docId = json['docId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'docId': docId
    };

    getTypeName() => "Ercot60dDamGenResourceDataRequest";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'catalog_jobs_dev.power.dev', types: <String, TypeInfo> {
    'Ercot60dDamGenResourceDataRequest': TypeInfo(TypeOf.Class, create:() => Ercot60dDamGenResourceDataRequest()),
});

Dart Ercot60dDamGenResourceDataRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ercot-60d-dam-gen-resource-data HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"docId":0}