DigiOffice Gateway Web Services

<back to all web services

GetMultiRegistrationProfileFieldStates

Requires Authentication
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class RegistrationProfileFieldValue implements IConvertible
{
    String? DocumentFieldID;
    String? Value;
    String? ShadowValue;
    bool? IsModifiedByUser;

    RegistrationProfileFieldValue({this.DocumentFieldID,this.Value,this.ShadowValue,this.IsModifiedByUser});
    RegistrationProfileFieldValue.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        DocumentFieldID = json['DocumentFieldID'];
        Value = json['Value'];
        ShadowValue = json['ShadowValue'];
        IsModifiedByUser = json['IsModifiedByUser'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'DocumentFieldID': DocumentFieldID,
        'Value': Value,
        'ShadowValue': ShadowValue,
        'IsModifiedByUser': IsModifiedByUser
    };

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

class GetRegistrationprofileFieldStates implements IConvertible
{
    String? RegistrationprofileID;
    String? DocumentID;
    int? QueueDocumentID;
    String? StandardDocumentID;
    List<String>? RequestTriggeredByDependentDocumentFieldIds;
    List<RegistrationProfileFieldValue>? CurrentRegistrationprofileFieldValues;
    bool? IsOffice365Context;
    bool? IsOpenedFromNonDMSLocation;
    String? PidTag;

    GetRegistrationprofileFieldStates({this.RegistrationprofileID,this.DocumentID,this.QueueDocumentID,this.StandardDocumentID,this.RequestTriggeredByDependentDocumentFieldIds,this.CurrentRegistrationprofileFieldValues,this.IsOffice365Context,this.IsOpenedFromNonDMSLocation,this.PidTag});
    GetRegistrationprofileFieldStates.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        RegistrationprofileID = json['RegistrationprofileID'];
        DocumentID = json['DocumentID'];
        QueueDocumentID = json['QueueDocumentID'];
        StandardDocumentID = json['StandardDocumentID'];
        RequestTriggeredByDependentDocumentFieldIds = JsonConverters.fromJson(json['RequestTriggeredByDependentDocumentFieldIds'],'List<String>',context!);
        CurrentRegistrationprofileFieldValues = JsonConverters.fromJson(json['CurrentRegistrationprofileFieldValues'],'List<RegistrationProfileFieldValue>',context!);
        IsOffice365Context = json['IsOffice365Context'];
        IsOpenedFromNonDMSLocation = json['IsOpenedFromNonDMSLocation'];
        PidTag = json['PidTag'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'RegistrationprofileID': RegistrationprofileID,
        'DocumentID': DocumentID,
        'QueueDocumentID': QueueDocumentID,
        'StandardDocumentID': StandardDocumentID,
        'RequestTriggeredByDependentDocumentFieldIds': JsonConverters.toJson(RequestTriggeredByDependentDocumentFieldIds,'List<String>',context!),
        'CurrentRegistrationprofileFieldValues': JsonConverters.toJson(CurrentRegistrationprofileFieldValues,'List<RegistrationProfileFieldValue>',context!),
        'IsOffice365Context': IsOffice365Context,
        'IsOpenedFromNonDMSLocation': IsOpenedFromNonDMSLocation,
        'PidTag': PidTag
    };

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

class GetMultiRegistrationProfileFieldStates implements IConvertible
{
    List<GetRegistrationprofileFieldStates>? MultiRegistrationProfileFieldStates;

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

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

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

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

TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: <String, TypeInfo> {
    'RegistrationProfileFieldValue': TypeInfo(TypeOf.Class, create:() => RegistrationProfileFieldValue()),
    'GetRegistrationprofileFieldStates': TypeInfo(TypeOf.Class, create:() => GetRegistrationprofileFieldStates()),
    'List<RegistrationProfileFieldValue>': TypeInfo(TypeOf.Class, create:() => <RegistrationProfileFieldValue>[]),
    'GetMultiRegistrationProfileFieldStates': TypeInfo(TypeOf.Class, create:() => GetMultiRegistrationProfileFieldStates()),
    'List<GetRegistrationprofileFieldStates>': TypeInfo(TypeOf.Class, create:() => <GetRegistrationprofileFieldStates>[]),
});

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

POST /jsonl/reply/GetMultiRegistrationProfileFieldStates HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"MultiRegistrationProfileFieldStates":[{"RegistrationprofileID":"00000000-0000-0000-0000-000000000000","DocumentID":"00000000-0000-0000-0000-000000000000","QueueDocumentID":0,"StandardDocumentID":"00000000-0000-0000-0000-000000000000","RequestTriggeredByDependentDocumentFieldIds":["00000000-0000-0000-0000-000000000000"],"CurrentRegistrationprofileFieldValues":[{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Value":"String","ShadowValue":"String","IsModifiedByUser":false}],"IsOffice365Context":false,"IsOpenedFromNonDMSLocation":false,"PidTag":"String"}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[{"DocumentUploadID":0,"ReadOnly":false,"Messages":[{}],"ControlStates":[{"DocumentFieldID":"00000000-0000-0000-0000-000000000000","Required":false,"Visible":false,"Readonly":false}]}]