ImzagerServices

<back to all web services

SetSignDocumentAtributes

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

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

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

class SetSignDocumentAtributes implements IConvertible
{
    String? ClientKey;
    String? AuthorizationID;
    int? DocID;
    Map<String,String?>? Attributes;

    SetSignDocumentAtributes({this.ClientKey,this.AuthorizationID,this.DocID,this.Attributes});
    SetSignDocumentAtributes.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        ClientKey = json['ClientKey'];
        AuthorizationID = json['AuthorizationID'];
        DocID = json['DocID'];
        Attributes = JsonConverters.toStringMap(json['Attributes']);
        return this;
    }

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

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

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

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

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

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