DigiOffice Gateway Web Services

<back to all web services

SetRegistrationprofileGroupState

Requires Authentication
The following routes are available for this service:
PUT/api/registrationprofilegroup/{ID}/state
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class RegistrationprofileGroupState implements IConvertible
{
    bool? Collapsed;

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

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

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

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

class SetRegistrationprofileGroupState implements IConvertible
{
    String? ID;
    RegistrationprofileGroupState? State;

    SetRegistrationprofileGroupState({this.ID,this.State});
    SetRegistrationprofileGroupState.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ID = json['ID'];
        State = JsonConverters.fromJson(json['State'],'RegistrationprofileGroupState',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ID': ID,
        'State': JsonConverters.toJson(State,'RegistrationprofileGroupState',context!)
    };

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

TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: <String, TypeInfo> {
    'RegistrationprofileGroupState': TypeInfo(TypeOf.Class, create:() => RegistrationprofileGroupState()),
    'SetRegistrationprofileGroupState': TypeInfo(TypeOf.Class, create:() => SetRegistrationprofileGroupState()),
});

Dart SetRegistrationprofileGroupState 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.

PUT /api/registrationprofilegroup/{ID}/state HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"ID":"00000000-0000-0000-0000-000000000000","State":{"Collapsed":false}}