digitaluapi

<back to all web services

SystemConfigLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/system_config
import 'package:servicestack/servicestack.dart';
import 'dart:collection';

// @DataContract
class SystemConfigLookup implements IConvertible
{
    // @DataMember(Order=2)
    int? TenantsId;

    // @DataMember(Order=3)
    String? FromEmailAddress;

    // @DataMember(Order=4)
    String? PasswordResetUrlTemplate;

    // @DataMember(Order=5)
    String? PasswordResetSubject;

    // @DataMember(Order=6)
    String? PasswordResetBodyTemplate;

    SystemConfigLookup({this.TenantsId,this.FromEmailAddress,this.PasswordResetUrlTemplate,this.PasswordResetSubject,this.PasswordResetBodyTemplate});
    SystemConfigLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        TenantsId = json['TenantsId'];
        FromEmailAddress = json['FromEmailAddress'];
        PasswordResetUrlTemplate = json['PasswordResetUrlTemplate'];
        PasswordResetSubject = json['PasswordResetSubject'];
        PasswordResetBodyTemplate = json['PasswordResetBodyTemplate'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'TenantsId': TenantsId,
        'FromEmailAddress': FromEmailAddress,
        'PasswordResetUrlTemplate': PasswordResetUrlTemplate,
        'PasswordResetSubject': PasswordResetSubject,
        'PasswordResetBodyTemplate': PasswordResetBodyTemplate
    };

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

TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
    'SystemConfigLookup': TypeInfo(TypeOf.Class, create:() => SystemConfigLookup()),
});

Dart SystemConfigLookup 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 /system_config HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

[{"TenantsId":0,"FromEmailAddress":"String","PasswordResetUrlTemplate":"String","PasswordResetSubject":"String","PasswordResetBodyTemplate":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]