| GET, POST | /fibuscan/DokumentDownloadBeiBNR |
|---|
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 BeraterDokumentDownloadListeRequest
{
public virtual long Mandnr { get; set; }
public virtual long Bnr { get; set; }
}
public partial class BeraterDokumentDownloadListeResponse
{
public BeraterDokumentDownloadListeResponse()
{
dokument = new List<dokumente>{};
}
public virtual List<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# BeraterDokumentDownloadListeRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/DokumentDownloadBeiBNR HTTP/1.1
Host: ws4.fibudata.net
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"Mandnr":0,"Bnr":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"dokument":[{"ID":0,"_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","mandant":0,"Datenindex":0,"Dateiname":"String","zip_dateiname":"String","SubPfad":"String","Upload":0,"DownloadExt":0,"Datum":"\/Date(-62135596800000-0000)\/","Link":"String","anlagen":"String","metadaten":"String","dateityp":0,"del":0,"hash":"String","guid":"String","server_hash":"String","PrimaryKey":0}]}