Server

<back to all web services

GetNutzeinheitenFromObjekt

Requires Authentication
The following routes are available for this service:
GET/NutzeinheitenFromObjekt/{ObjektGuid}
import 'package:servicestack/servicestack.dart';

class GetNutzeinheitenFromObjektResponse implements IConvertible
{
    List<String>? nutzeinheitenGuids;
    ResponseStatus? responseStatus;

    GetNutzeinheitenFromObjektResponse({this.nutzeinheitenGuids,this.responseStatus});
    GetNutzeinheitenFromObjektResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        nutzeinheitenGuids = JsonConverters.fromJson(json['nutzeinheitenGuids'],'List<String>',context!);
        responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'nutzeinheitenGuids': JsonConverters.toJson(nutzeinheitenGuids,'List<String>',context!),
        'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!)
    };

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

// @DataContract
class GetNutzeinheitenFromObjekt implements IConvertible
{
    // @DataMember(Name="ObjektGuid")
    String? ObjektGuid;

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

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

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

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

TypeContext _ctx = TypeContext(library: 'mi_waerme_servamw.eras_online.de', types: <String, TypeInfo> {
    'GetNutzeinheitenFromObjektResponse': TypeInfo(TypeOf.Class, create:() => GetNutzeinheitenFromObjektResponse()),
    'GetNutzeinheitenFromObjekt': TypeInfo(TypeOf.Class, create:() => GetNutzeinheitenFromObjekt()),
});

Dart GetNutzeinheitenFromObjekt DTOs

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

HTTP + OTHER

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

GET /NutzeinheitenFromObjekt/{ObjektGuid} HTTP/1.1 
Host: mi-waerme-servamw.eras-online.de 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"nutzeinheitenGuids":["00000000000000000000000000000000"],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}