| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<SignAndSendRemMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel">
<AuthorizationID>String</AuthorizationID>
<Pin>String</Pin>
<RemID>0</RemID>
<SignerSsn>String</SignerSsn>
</SignAndSendRemMessage>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <SignAndSendRemMessageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaBRemServices.ServiceModel"> <ErrorCode>0</ErrorCode> <ErrorMessage>String</ErrorMessage> <Result>false</Result> </SignAndSendRemMessageResponse>