DigiOffice Gateway Web Services

<back to all web services

ImportExtendedInvoiceInformation

Requires Authentication
The following routes are available for this service:
POST/api/Vion/ImportExtendedInvoiceInformationDirecte XML aanleveren via Post
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';

class Result implements IConvertible
{
    String? Status;
    String? Message;

    Result({this.Status,this.Message});
    Result.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Status = json['Status'];
        Message = json['Message'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Status': Status,
        'Message': Message
    };

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

class ImportExtendedInvoiceInformation implements IConvertible
{
    String? Name;
    String? ContentType;
    Uint8List? RequestStream;

    ImportExtendedInvoiceInformation({this.Name,this.ContentType,this.RequestStream});
    ImportExtendedInvoiceInformation.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        Name = json['Name'];
        ContentType = json['ContentType'];
        RequestStream = JsonConverters.fromJson(json['RequestStream'],'Uint8List',context!);
        return this;
    }

    Map<String, dynamic> toJson() => {
        'Name': Name,
        'ContentType': ContentType,
        'RequestStream': JsonConverters.toJson(RequestStream,'Uint8List',context!)
    };

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

TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.vionfood.com', types: <String, TypeInfo> {
    'Result': TypeInfo(TypeOf.Class, create:() => Result()),
    'ImportExtendedInvoiceInformation': TypeInfo(TypeOf.Class, create:() => ImportExtendedInvoiceInformation()),
    'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)),
});

Dart ImportExtendedInvoiceInformation 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 /api/Vion/ImportExtendedInvoiceInformation HTTP/1.1 
Host: digiofficeapigateway.vionfood.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Name":"String","ContentType":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Status":"String","Message":"String"}