| All Verbs | /GetDocumentFlowInfo/{ClientKey} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class FlowSignerInfo implements IConvertible
{
String? Status;
String? FlowOrder;
String? UserName;
String? UserSsn;
DateTime? ApproveDate;
String? SignerType;
FlowSignerInfo({this.Status,this.FlowOrder,this.UserName,this.UserSsn,this.ApproveDate,this.SignerType});
FlowSignerInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Status = json['Status'];
FlowOrder = json['FlowOrder'];
UserName = json['UserName'];
UserSsn = json['UserSsn'];
ApproveDate = JsonConverters.fromJson(json['ApproveDate'],'DateTime',context!);
SignerType = json['SignerType'];
return this;
}
Map<String, dynamic> toJson() => {
'Status': Status,
'FlowOrder': FlowOrder,
'UserName': UserName,
'UserSsn': UserSsn,
'ApproveDate': JsonConverters.toJson(ApproveDate,'DateTime',context!),
'SignerType': SignerType
};
getTypeName() => "FlowSignerInfo";
TypeContext? context = _ctx;
}
class DocumentFlowInfo implements IConvertible
{
bool? FlowIsExist;
bool? FlowIsAvtice;
bool? FlowIsCompleted;
int? DocumentID;
String? DoumentName;
String? FlowStatus;
List<FlowSignerInfo>? Signers;
DocumentFlowInfo({this.FlowIsExist,this.FlowIsAvtice,this.FlowIsCompleted,this.DocumentID,this.DoumentName,this.FlowStatus,this.Signers});
DocumentFlowInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
FlowIsExist = json['FlowIsExist'];
FlowIsAvtice = json['FlowIsAvtice'];
FlowIsCompleted = json['FlowIsCompleted'];
DocumentID = json['DocumentID'];
DoumentName = json['DoumentName'];
FlowStatus = json['FlowStatus'];
Signers = JsonConverters.fromJson(json['Signers'],'List<FlowSignerInfo>',context!);
return this;
}
Map<String, dynamic> toJson() => {
'FlowIsExist': FlowIsExist,
'FlowIsAvtice': FlowIsAvtice,
'FlowIsCompleted': FlowIsCompleted,
'DocumentID': DocumentID,
'DoumentName': DoumentName,
'FlowStatus': FlowStatus,
'Signers': JsonConverters.toJson(Signers,'List<FlowSignerInfo>',context!)
};
getTypeName() => "DocumentFlowInfo";
TypeContext? context = _ctx;
}
class GetDocumentFlowInfoResponse implements IConvertible
{
DocumentFlowInfo? Result;
bool? ServiceSuccessResult;
String? ErrorMesage;
GetDocumentFlowInfoResponse({this.Result,this.ServiceSuccessResult,this.ErrorMesage});
GetDocumentFlowInfoResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Result = JsonConverters.fromJson(json['Result'],'DocumentFlowInfo',context!);
ServiceSuccessResult = json['ServiceSuccessResult'];
ErrorMesage = json['ErrorMesage'];
return this;
}
Map<String, dynamic> toJson() => {
'Result': JsonConverters.toJson(Result,'DocumentFlowInfo',context!),
'ServiceSuccessResult': ServiceSuccessResult,
'ErrorMesage': ErrorMesage
};
getTypeName() => "GetDocumentFlowInfoResponse";
TypeContext? context = _ctx;
}
class GetDocumentFlowInfo implements IConvertible
{
String? ClientKey;
String? AuthorizationID;
int? DocID;
GetDocumentFlowInfo({this.ClientKey,this.AuthorizationID,this.DocID});
GetDocumentFlowInfo.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ClientKey = json['ClientKey'];
AuthorizationID = json['AuthorizationID'];
DocID = json['DocID'];
return this;
}
Map<String, dynamic> toJson() => {
'ClientKey': ClientKey,
'AuthorizationID': AuthorizationID,
'DocID': DocID
};
getTypeName() => "GetDocumentFlowInfo";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'imzagerservices.eyyubiye.bel.tr', types: <String, TypeInfo> {
'FlowSignerInfo': TypeInfo(TypeOf.Class, create:() => FlowSignerInfo()),
'DocumentFlowInfo': TypeInfo(TypeOf.Class, create:() => DocumentFlowInfo()),
'List<FlowSignerInfo>': TypeInfo(TypeOf.Class, create:() => <FlowSignerInfo>[]),
'GetDocumentFlowInfoResponse': TypeInfo(TypeOf.Class, create:() => GetDocumentFlowInfoResponse()),
'GetDocumentFlowInfo': TypeInfo(TypeOf.Class, create:() => GetDocumentFlowInfo()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /GetDocumentFlowInfo/{ClientKey} HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ClientKey":"String","AuthorizationID":"String","DocID":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Result":{"FlowIsExist":false,"FlowIsAvtice":false,"FlowIsCompleted":false,"DocumentID":0,"DoumentName":"String","FlowStatus":"String","Signers":[{"Status":"String","FlowOrder":"String","UserName":"String","UserSsn":"String","ApproveDate":"\/Date(-62135596800000-0000)\/","SignerType":"String"}]},"ServiceSuccessResult":false,"ErrorMesage":"String"}