Power.Dev Hangfire Services

<back to all web services

PowerPlantCreateGeojsonRequest

The following routes are available for this service:
GET/power-plants-ready-map
import 'package:servicestack/servicestack.dart';

class PowerPlantCreateGeojsonRequest implements IConvertible
{
    PowerPlantCreateGeojsonRequest();
    PowerPlantCreateGeojsonRequest.fromJson(Map<String, dynamic> json) : super();
    fromMap(Map<String, dynamic> json) {
        return this;
    }

    Map<String, dynamic> toJson() => {};
    getTypeName() => "PowerPlantCreateGeojsonRequest";
    TypeContext? context = _ctx;
}

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

Dart PowerPlantCreateGeojsonRequest DTOs

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

HTTP + XML

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

GET /power-plants-ready-map HTTP/1.1 
Host: catalog-jobs-dev.power.dev 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</int>