ImzagerServices

<back to all web services

AddSigner

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

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

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

class AddSigner implements IConvertible
{
    String? ClientKey;
    String? AuthorizationID;
    String? DocumentId;
    String? UserName;
    String? UserSSN;
    String? SignType;

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

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

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

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

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

Dart AddSigner 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 /AddSigner/{ClientKey} HTTP/1.1 
Host: imzagerservices.eyyubiye.bel.tr 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

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

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