| 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 .jsv suffix or ?format=jsv
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/jsv
Content-Type: text/jsv
Content-Length: length
{
Mandnr: 0,
Bnr: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
dokument:
[
{
ID: 0,
_erstellt: 0001-01-01,
_aenderung: 0001-01-01,
mandant: 0,
Datenindex: 0,
Dateiname: String,
zip_dateiname: String,
SubPfad: String,
Upload: 0,
DownloadExt: 0,
Datum: 0001-01-01,
Link: String,
anlagen: String,
metadaten: String,
dateityp: 0,
del: 0,
hash: String,
guid: String,
server_hash: String,
PrimaryKey: 0
}
]
}