ImzagerServices

<back to all web services

DeleteDocument

The following routes are available for this service:
All Verbs/DeleteDocument/{ClientKey}
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class DeleteDocumentResponse implements IConvertible
{
    bool? Result;
    bool? ServiceSuccessResult;
    String? ErrorMesage;

    DeleteDocumentResponse({this.Result,this.ServiceSuccessResult,this.ErrorMesage});
    DeleteDocumentResponse.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() => "DeleteDocumentResponse";
    TypeContext? context = _ctx;
}

class DeleteDocument implements IConvertible
{
    String? ClientKey;
    String? AuthorizationID;
    String? UserSSN;
    int? DocumentId;

    DeleteDocument({this.ClientKey,this.AuthorizationID,this.UserSSN,this.DocumentId});
    DeleteDocument.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ClientKey = json['ClientKey'];
        AuthorizationID = json['AuthorizationID'];
        UserSSN = json['UserSSN'];
        DocumentId = json['DocumentId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'ClientKey': ClientKey,
        'AuthorizationID': AuthorizationID,
        'UserSSN': UserSSN,
        'DocumentId': DocumentId
    };

    getTypeName() => "DeleteDocument";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'imzagerservices.eyyubiye.bel.tr', types: <String, TypeInfo> {
    'DeleteDocumentResponse': TypeInfo(TypeOf.Class, create:() => DeleteDocumentResponse()),
    'DeleteDocument': TypeInfo(TypeOf.Class, create:() => DeleteDocument()),
});

Dart DeleteDocument DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /DeleteDocument/{ClientKey} HTTP/1.1 
Host: imzagerservices.eyyubiye.bel.tr 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"ClientKey":"String","AuthorizationID":"String","UserSSN":"String","DocumentId":0}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Result":false,"ServiceSuccessResult":false,"ErrorMesage":"String"}