| All Verbs | /StartFlow/{ClientKey} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class StartFlowResponse implements IConvertible
{
bool? Result;
bool? ServiceSuccessResult;
String? ErrorMesage;
StartFlowResponse({this.Result,this.ServiceSuccessResult,this.ErrorMesage});
StartFlowResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Result = json['Result'];
ServiceSuccessResult = json['ServiceSuccessResult'];
ErrorMesage = json['ErrorMesage'];
return this;
}
Map<String, dynamic> toJson() => {
'Result': Result,
'ServiceSuccessResult': ServiceSuccessResult,
'ErrorMesage': ErrorMesage
};
getTypeName() => "StartFlowResponse";
TypeContext? context = _ctx;
}
class StartFlow implements IConvertible
{
String? ClientKey;
String? AuthorizationID;
String? DocID;
StartFlow({this.ClientKey,this.AuthorizationID,this.DocID});
StartFlow.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() => "StartFlow";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'imzagerservices.eyyubiye.bel.tr', types: <String, TypeInfo> {
'StartFlowResponse': TypeInfo(TypeOf.Class, create:() => StartFlowResponse()),
'StartFlow': TypeInfo(TypeOf.Class, create:() => StartFlow()),
});
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 /StartFlow/{ClientKey} HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ClientKey":"String","AuthorizationID":"String","DocID":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Result":false,"ServiceSuccessResult":false,"ErrorMesage":"String"}