| GET, POST | /fibuscan/Onlinehandel/ParserVerwaltung |
|---|
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports FIBUdataServiceStack.ServiceModel.Messages
Imports FIBUdataServiceStack.ServiceModel.Common
Imports FIBUdataServiceStack.ServiceModel.Models
Namespace Global
Namespace FIBUdataServiceStack.ServiceModel.Common
Public Enum Oem
fibudata = 0
spectrum = 3
End Enum
End Namespace
Namespace FIBUdataServiceStack.ServiceModel.Messages
Public Partial Class OHParserVerwaltungRequest
Public Sub New()
DateienGUIDs = New List(Of String)
End Sub
Public Overridable Property oem As Nullable(Of Oem)
Public Overridable Property expression As String
Public Overridable Property limit As Integer
Public Overridable Property zuordnung As Nullable(Of Boolean)
Public Overridable Property DateienGUIDs As List(Of String)
Public Overridable Property Rundungsabweichung As Nullable(Of Integer)
Public Overridable Property Betragsabweichung As Nullable(Of Integer)
Public Overridable Property VonDatum As Nullable(Of Date)
Public Overridable Property BisDatum As Nullable(Of Date)
Public Overridable Property VorgangGuid As String
Public Overridable Property OriginUrl As String
Public Overridable Property ohneVolltextsuche As Nullable(Of Boolean)
End Class
Public Partial Class OHParserVerwaltungResponse
Public Sub New()
Liste = New List(Of onlinehandel_datei)
alleDictionaryitems = New List(Of OnlinehandelTreffertypen)
Dic_zahlSystem = New Dictionary(Of String, Long)
End Sub
Public Overridable Property Liste As List(Of onlinehandel_datei)
Public Overridable Property parsed_date_guid As String
Public Overridable Property alleDictionaryitems As List(Of OnlinehandelTreffertypen)
Public Overridable Property Dic_zahlSystem As Dictionary(Of String, Long)
Public Overridable Property VorgangGuid As String
Public Overridable Property InsertedDatei As onlinehandel_abrechnung
Public Overridable Property ws_version As String
End Class
End Namespace
Namespace FIBUdataServiceStack.ServiceModel.Models
Public Partial Class onlinehandel_abrechnung
Inherits onlinehandel_abrechnung_light
Public Sub New()
geparste_results_keys = New Byte(){}
geparste_results_values = New Byte(){}
End Sub
Public Overridable Property geparste_results_keys As Byte()
Public Overridable Property geparste_results_values As Byte()
End Class
Public Partial Class onlinehandel_abrechnung_light
Implements IPrimaryKey
Implements IMandnr
Implements IDel
Implements ITableBase
Public Overridable Property id As Nullable(Of Long)
Public Overridable Property mandant As Nullable(Of Long)
Public Overridable Property del As Nullable(Of Long)
Public Overridable Property bezeichnung As String
Public Overridable Property guid As String
Public Overridable Property parent_guid As String
Public Overridable Property _erstellt As Nullable(Of Date)
Public Overridable Property _aenderung As Nullable(Of Date)
Public Overridable Property nutzer_id As Nullable(Of Long)
Public Overridable Property in_arbeit As Nullable(Of Long)
Public Overridable Property ausgewaehlte_treffertypen As String
Public Overridable Property ausgewaehlte_zahlsysteme As String
Public Overridable Property zip_dateiname As String
Public Overridable Property exportdatum As Nullable(Of Date)
<Ignore>
Public Overridable Property PrimaryKey As Nullable(Of Long)
End Class
Public Partial Class onlinehandel_datei
Implements IPrimaryKey
Implements IMandnr
Implements IDel
Implements ITableBase
Public Sub New()
originaldatei = New Byte(){}
End Sub
Public Overridable Property id As Nullable(Of Long)
Public Overridable Property mandant As Nullable(Of Long)
Public Overridable Property bankindex As Nullable(Of Long)
Public Overridable Property del As Nullable(Of Long)
Public Overridable Property dateiname As String
Public Overridable Property kopf_hash As String
Public Overridable Property betragskonvertierung As Nullable(Of Integer)
Public Overridable Property datumskonvertierung As Nullable(Of Integer)
Public Overridable Property trennzeichen As String
Public Overridable Property originalname As String
Public Overridable Property textcodierung As Nullable(Of Integer)
Public Overridable Property dateityp As Nullable(Of Integer)
Public Overridable Property kopfspalte_vorhanden As Nullable(Of Integer)
Public Overridable Property dateiinhalt As String
Public Overridable Property _erstellt As Nullable(Of Date)
Public Overridable Property _aenderung As Nullable(Of Date)
Public Overridable Property _checked As Nullable(Of Date)
Public Overridable Property originaldatei As Byte()
Public Overridable Property anfangsdatum As Nullable(Of Date)
Public Overridable Property enddatum As Nullable(Of Date)
Public Overridable Property positionen_anzahl As Nullable(Of Long)
Public Overridable Property betragssumme As Nullable(Of Decimal)
Public Overridable Property abrechnung_id As Nullable(Of Long)
Public Overridable Property offene_positionen_id As Nullable(Of Long)
Public Overridable Property bemerkung As String
Public Overridable Property guid As String
Public Overridable Property naechste_datei_id As Nullable(Of Long)
Public Overridable Property letzte_datei_id As Nullable(Of Long)
Public Overridable Property id2_text As String
Public Overridable Property kopf_faengt_mit As String
Public Overridable Property muster As Nullable(Of Long)
Public Overridable Property schnittstelle As Nullable(Of Integer)
Public Overridable Property subpfad As String
Public Overridable Property originaldateiname As String
Public Overridable Property dateiinhalt_pfad As String
Public Overridable Property anfangssaldo As Nullable(Of Decimal)
Public Overridable Property endsaldo As Nullable(Of Decimal)
Public Overridable Property aktueller_saldo As Nullable(Of Decimal)
Public Overridable Property json_data As String
Public Overridable Property waehrung As String
<Ignore>
Public Overridable Property PrimaryKey As Nullable(Of Long)
End Class
Public Partial Class onlinehandel_treffertypen
Implements IPrimaryKey
Implements IMandnr
Implements IDel
Implements ITableBase
Public Overridable Property id As Nullable(Of Long)
Public Overridable Property guid As String
Public Overridable Property mandant As Nullable(Of Long)
Public Overridable Property del As Nullable(Of Long)
Public Overridable Property parent_id As Nullable(Of Long)
Public Overridable Property soll_parsen As Nullable(Of Long)
Public Overridable Property bezeichnung As String
Public Overridable Property _erstellt As Nullable(Of Date)
Public Overridable Property _aenderung As Nullable(Of Date)
Public Overridable Property suchfeld1 As Nullable(Of Long)
Public Overridable Property suchfeld1_text As String
Public Overridable Property suchfeld2 As Nullable(Of Long)
Public Overridable Property suchfeld2_text As String
<Ignore>
Public Overridable Property PrimaryKey As Nullable(Of Long)
End Class
Public Partial Class OnlinehandelTreffertypen
Public Overridable Property data As onlinehandel_treffertypen
Public Overridable Property anzahl As Nullable(Of Long)
Public Overridable Property isEnum As Boolean
Public Overridable Property Quote As Nullable(Of Decimal)
End Class
End Namespace
End Namespace
VB.NET OHParserVerwaltungRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /fibuscan/Onlinehandel/ParserVerwaltung HTTP/1.1
Host: ws4.fibudata.net
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"oem":"fibudata","expression":"String","limit":0,"zuordnung":false,"DateienGUIDs":["String"],"Rundungsabweichung":0,"Betragsabweichung":0,"VonDatum":"\/Date(-62135596800000-0000)\/","BisDatum":"\/Date(-62135596800000-0000)\/","VorgangGuid":"String","OriginUrl":"String","ohneVolltextsuche":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"Liste":[{"id":0,"mandant":0,"bankindex":0,"del":0,"dateiname":"String","kopf_hash":"String","betragskonvertierung":0,"datumskonvertierung":0,"trennzeichen":"String","originalname":"String","textcodierung":0,"dateityp":0,"kopfspalte_vorhanden":0,"dateiinhalt":"String","_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","_checked":"\/Date(-62135596800000-0000)\/","originaldatei":"AA==","anfangsdatum":"\/Date(-62135596800000-0000)\/","enddatum":"\/Date(-62135596800000-0000)\/","positionen_anzahl":0,"betragssumme":0,"abrechnung_id":0,"offene_positionen_id":0,"bemerkung":"String","guid":"String","naechste_datei_id":0,"letzte_datei_id":0,"id2_text":"String","kopf_faengt_mit":"String","muster":0,"schnittstelle":0,"subpfad":"String","originaldateiname":"String","dateiinhalt_pfad":"String","anfangssaldo":0,"endsaldo":0,"aktueller_saldo":0,"json_data":"String","waehrung":"String","PrimaryKey":0}],"parsed_date_guid":"String","alleDictionaryitems":[{"data":{"id":0,"guid":"String","mandant":0,"del":0,"parent_id":0,"soll_parsen":0,"bezeichnung":"String","_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","suchfeld1":0,"suchfeld1_text":"String","suchfeld2":0,"suchfeld2_text":"String","PrimaryKey":0},"anzahl":0,"isEnum":false,"Quote":0}],"Dic_zahlSystem":{"String":0},"VorgangGuid":"String","InsertedDatei":{"geparste_results_keys":"AA==","geparste_results_values":"AA==","id":0,"mandant":0,"del":0,"bezeichnung":"String","guid":"String","parent_guid":"String","_erstellt":"\/Date(-62135596800000-0000)\/","_aenderung":"\/Date(-62135596800000-0000)\/","nutzer_id":0,"in_arbeit":0,"ausgewaehlte_treffertypen":"String","ausgewaehlte_zahlsysteme":"String","zip_dateiname":"String","exportdatum":"\/Date(-62135596800000-0000)\/","PrimaryKey":0},"ws_version":"String"}