ImzagerServices

<back to all web services

SignDocumentPDFV2

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

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

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

class SignDocumentPDFV2 implements IConvertible
{
    String? ClientKey;
    String? AuthorizationID;
    String? UserSSN;
    int? DocumentId;
    String? Message;
    String? SigningReason;
    int? Location;
    String? SigningLocation;

    SignDocumentPDFV2({this.ClientKey,this.AuthorizationID,this.UserSSN,this.DocumentId,this.Message,this.SigningReason,this.Location,this.SigningLocation});
    SignDocumentPDFV2.fromJson(Map<String, dynamic> json) { fromMap(json); }

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

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

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

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

Dart SignDocumentPDFV2 DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /SignDocumentPDFV2 HTTP/1.1 
Host: imzagerservices.eyyubiye.bel.tr 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"ClientKey":"String","AuthorizationID":"String","UserSSN":"String","DocumentId":0,"Message":"String","SigningReason":"String","Location":0,"SigningLocation":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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