FIBUdataServiceStack

<back to all web services

BeraterDokumentDownloadRequest

The following routes are available for this service:
GET, POST/fibuscan/BeraterDokumentDownload
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using FIBUdataServiceStack.ServiceModel.Messages;
using FIBUdataServiceStack.ServiceModel.Models;

namespace FIBUdataServiceStack.ServiceModel.Messages
{
    public partial class BeraterDokumentDownloadRequest
    {
        public virtual long Mandnr { get; set; }
        public virtual long Dok_id { get; set; }
    }

    public partial class DokumentDownloadResponse
    {
        public DokumentDownloadResponse()
        {
            dokument_bin = new byte[]{};
        }

        public virtual byte[] dokument_bin { get; set; }
        public virtual dokumente dokument { get; set; }
    }

}

namespace FIBUdataServiceStack.ServiceModel.Models
{
    public partial class dokumente
        : IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung
    {
        public virtual long? ID { get; set; }
        public virtual DateTime? _erstellt { get; set; }
        public virtual DateTime? _aenderung { get; set; }
        public virtual long? mandant { get; set; }
        public virtual long? Datenindex { get; set; }
        public virtual string Dateiname { get; set; }
        public virtual string zip_dateiname { get; set; }
        public virtual string SubPfad { get; set; }
        public virtual int? Upload { get; set; }
        public virtual int? DownloadExt { get; set; }
        public virtual DateTime? Datum { get; set; }
        public virtual string Link { get; set; }
        public virtual string anlagen { get; set; }
        public virtual string metadaten { get; set; }
        public virtual int? dateityp { get; set; }
        public virtual long? del { get; set; }
        public virtual string hash { get; set; }
        public virtual string guid { get; set; }
        [Ignore]
        public virtual string server_hash { get; set; }

        [Ignore]
        public virtual long? PrimaryKey { get; set; }
    }

}

C# BeraterDokumentDownloadRequest DTOs

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

HTTP + XML

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

POST /fibuscan/BeraterDokumentDownload HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<BeraterDokumentDownloadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <Dok_id>0</Dok_id>
  <Mandnr>0</Mandnr>
</BeraterDokumentDownloadRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<DokumentDownloadResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <dokument xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
    <d2p1:Dateiname>String</d2p1:Dateiname>
    <d2p1:Datenindex>0</d2p1:Datenindex>
    <d2p1:Datum>0001-01-01T00:00:00</d2p1:Datum>
    <d2p1:DownloadExt>0</d2p1:DownloadExt>
    <d2p1:ID>0</d2p1:ID>
    <d2p1:Link>String</d2p1:Link>
    <d2p1:PrimaryKey>0</d2p1:PrimaryKey>
    <d2p1:SubPfad>String</d2p1:SubPfad>
    <d2p1:Upload>0</d2p1:Upload>
    <d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
    <d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
    <d2p1:anlagen>String</d2p1:anlagen>
    <d2p1:dateityp>0</d2p1:dateityp>
    <d2p1:del>0</d2p1:del>
    <d2p1:guid>String</d2p1:guid>
    <d2p1:hash>String</d2p1:hash>
    <d2p1:mandant>0</d2p1:mandant>
    <d2p1:metadaten>String</d2p1:metadaten>
    <d2p1:server_hash>String</d2p1:server_hash>
    <d2p1:zip_dateiname>String</d2p1:zip_dateiname>
  </dokument>
  <dokument_bin>AA==</dokument_bin>
</DokumentDownloadResponse>