Power.Dev Hangfire Services

<back to all web services

ErcotDamShadowPricesRequest

The following routes are available for this service:
POST/ercot-dam-shadow-prices
import 'package:servicestack/servicestack.dart';

class ErcotDamShadowPricesRequest implements IConvertible
{
    int? docId;

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

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

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

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

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

Dart ErcotDamShadowPricesRequest DTOs

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

HTTP + JSV

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

POST /ercot-dam-shadow-prices HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	docId: 0
}