DaBRemService

<back to all web services

SignAndSendRemMessage

The following routes are available for this service:
All Verbs/SignAndSendRemMessage
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class BaseResponse implements IConvertible
{
    bool? Result;
    int? ErrorCode;
    String? ErrorMessage;

    BaseResponse({this.Result,this.ErrorCode,this.ErrorMessage});
    BaseResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

    Map<String, dynamic> toJson() => {
        'Result': Result,
        'ErrorCode': ErrorCode,
        'ErrorMessage': ErrorMessage
    };

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

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

    Map<String, dynamic> toJson() => super.toJson();
    getTypeName() => "SignAndSendRemMessageResponse";
    TypeContext? context = _ctx;
}

class SignAndSendRemMessage implements IConvertible
{
    String? AuthorizationID;
    String? SignerSsn;
    String? Pin;
    int? RemID;

    SignAndSendRemMessage({this.AuthorizationID,this.SignerSsn,this.Pin,this.RemID});
    SignAndSendRemMessage.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        AuthorizationID = json['AuthorizationID'];
        SignerSsn = json['SignerSsn'];
        Pin = json['Pin'];
        RemID = json['RemID'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'AuthorizationID': AuthorizationID,
        'SignerSsn': SignerSsn,
        'Pin': Pin,
        'RemID': RemID
    };

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

TypeContext _ctx = TypeContext(library: 'remservices.eyyubiye.bel.tr', types: <String, TypeInfo> {
    'BaseResponse': TypeInfo(TypeOf.Class, create:() => BaseResponse()),
    'SignAndSendRemMessageResponse': TypeInfo(TypeOf.Class, create:() => SignAndSendRemMessageResponse()),
    'SignAndSendRemMessage': TypeInfo(TypeOf.Class, create:() => SignAndSendRemMessage()),
});

Dart SignAndSendRemMessage DTOs

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

HTTP + JSV

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

POST /SignAndSendRemMessage HTTP/1.1 
Host: remservices.eyyubiye.bel.tr 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	AuthorizationID: String,
	SignerSsn: String,
	Pin: String,
	RemID: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Result: False,
	ErrorCode: 0,
	ErrorMessage: String
}