| All Verbs | /UploadDocumentThatExist/{ClientKey} |
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class UploadDocumentThatExistResponse implements IConvertible
{
String? Result;
bool? ServiceSuccessResult;
String? ErrorMesage;
UploadDocumentThatExistResponse({this.Result,this.ServiceSuccessResult,this.ErrorMesage});
UploadDocumentThatExistResponse.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() => "UploadDocumentThatExistResponse";
TypeContext? context = _ctx;
}
class UploadDocumentThatExist implements IConvertible
{
String? ClientKey;
String? AuthorizationID;
String? UserSSN;
String? FileName;
int? DocumentID;
String? MimeType;
UploadDocumentThatExist({this.ClientKey,this.AuthorizationID,this.UserSSN,this.FileName,this.DocumentID,this.MimeType});
UploadDocumentThatExist.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
ClientKey = json['ClientKey'];
AuthorizationID = json['AuthorizationID'];
UserSSN = json['UserSSN'];
FileName = json['FileName'];
DocumentID = json['DocumentID'];
MimeType = json['MimeType'];
return this;
}
Map<String, dynamic> toJson() => {
'ClientKey': ClientKey,
'AuthorizationID': AuthorizationID,
'UserSSN': UserSSN,
'FileName': FileName,
'DocumentID': DocumentID,
'MimeType': MimeType
};
getTypeName() => "UploadDocumentThatExist";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'imzagerservices.eyyubiye.bel.tr', types: <String, TypeInfo> {
'UploadDocumentThatExistResponse': TypeInfo(TypeOf.Class, create:() => UploadDocumentThatExistResponse()),
'UploadDocumentThatExist': TypeInfo(TypeOf.Class, create:() => UploadDocumentThatExist()),
});
Dart UploadDocumentThatExist DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /UploadDocumentThatExist/{ClientKey} HTTP/1.1
Host: imzagerservices.eyyubiye.bel.tr
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
ClientKey: String,
AuthorizationID: String,
UserSSN: String,
FileName: String,
DocumentID: 0,
MimeType: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Result: String,
ServiceSuccessResult: False,
ErrorMesage: String
}