| 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 .xml suffix or ?format=xml
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: application/xml
Content-Type: application/xml
Content-Length: length
<GetDocumentFlowInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<AuthorizationID>String</AuthorizationID>
<ClientKey>String</ClientKey>
<DocID>0</DocID>
</GetDocumentFlowInfo>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetDocumentFlowInfoResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DaB.Imzager.Services.ServiceModel">
<ErrorMesage>String</ErrorMesage>
<Result>
<DocumentID>0</DocumentID>
<DoumentName>String</DoumentName>
<FlowIsAvtice>false</FlowIsAvtice>
<FlowIsCompleted>false</FlowIsCompleted>
<FlowIsExist>false</FlowIsExist>
<FlowStatus>String</FlowStatus>
<Signers>
<FlowSignerInfo>
<ApproveDate>0001-01-01T00:00:00</ApproveDate>
<FlowOrder>String</FlowOrder>
<SignerType>String</SignerType>
<Status>String</Status>
<UserName>String</UserName>
<UserSsn>String</UserSsn>
</FlowSignerInfo>
</Signers>
</Result>
<ServiceSuccessResult>false</ServiceSuccessResult>
</GetDocumentFlowInfoResponse>