FIBUdataServiceStack

<back to all web services

MultiPatchRequest

The following routes are available for this service:
All Verbs/fibuscan/MultiPatch/
import Foundation
import ServiceStack

public class MultiPatchRequest : Codable
{
    public var patchDictionary:[MultiPatchEnum:[IPrimaryKey]] = [:]
    public var test:Bool

    required public init(){}
}

public enum MultiPatchEnum : String, Codable
{
    case apps
    case archivstruktur
    case arocr
    case auftrag
    case ausgangsrechnungtyp
    case avis
    case bank
    case bankdaten
    case bankdaten_extended
    case banksalden
    case berateremail
    case beraterlogin
    case briefkastenbearbeiter
    case briefkastendaten
    case briefkastenocr
    case briefkastenvorlauf
    case bwadetails
    case bwagruppen
    case daten_zahlungssysteme
    case dokumente
    case dokumente_abfrage
    case dokumente_abfrage_queue
    case dokumentenart
    case dokumentevolltext
    case dtadetails
    case dtavorlauf
    case fakt_abschlag
    case fakt_ansprechpartner
    case fakt_artikel
    case fakt_artikeleinheit
    case fakt_artikelgruppe
    case fakt_artikelpreise
    case fakt_belegdaten
    case fakt_belegnr
    case fakt_belegpositionen
    case fakt_einleitung_txt
    case fakt_rabattgruppe
    case fakt_rabattgruppe_details
    case fakt_serien
    case fakt_ust
    case fakt_zahlungsschritte
    case feiertage
    case formatfelderbankdaten
    case formatfelderdetails
    case formatfeldertyp
    case freigaben
    case gutscheine
    case kontenrahmendaten
    case kurzbezeichnungen
    case lernassistentfibu
    case lernbasis
    case lerndetails
    case logininfos
    case mandemail
    case mandlogin
    case mandlogininfos
    case mandnr
    case musterbank
    case musterbankdaten
    case musterdokumente
    case musterpersonendb
    case ocrlizenzen
    case ocrlizenzen10
    case ocrlizenzeneval
    case optionen
    case personendb
    case personendb_history
    case projekt
    case projektdaten_ist
    case projekt_soll_typen
    case projektauftrag
    case projektdaten
    case projektdetail
    case projekteinsatz
    case projektgruppe
    case projektrechnung
    case projektvorlage
    case reisekosten
    case sbegriffe
    case scans
    case smtp
    case stbdaten
    case steuerberater
    case steuerberater_land
    case steuerberater_angebot
    case steuerberater_auftrag
    case steuerberater_rezension
    case ust
    case ust_kennzeichen_daten
    case ust_kennzeichen_liste
    case verrechnung
    case vorlauf
    case wiederkehrende_posten
    case zeit_daten
    case zeit_löschen
    case zeit_stempel
    case zeit_taetigkeiten
    case zeit_zuordnung
    case zeit_zuordnungtaetigkeiten
    case zugriffsrechte
    case zugriffsrechtedatenbank
    case zugriffsrechtedetails
    case mandtalk_chat
    case mandtalk
    case abteilung
    case urlaubsanspruch
    case wochenarbeitszeit
    case abwesenheitstypen
    case abwesenheit
    case onlinenhandel_abrechnung
    case onlinehandel_datei
    case feiertage_gesetzlich
    case ferien_gesetzlich
    case onlinehandel_lerndatenbank
    case onlinehandel_kontierungs_regel
    case onlinehandel_treffertypen
    case dyn_feld
    case dyn_feldoptionen
    case dyn_feldtyp
    case dyn_feldvalidierung
    case dyn_feldwert
    case dyn_feldwertchecked
    case dyn_formular
    case dyn_formularfeld
    case berater_zugriffsrechte
    case mandconfig
    case mandtalk_chat_gelesen
    case mandtalk_kontakt
    case postleitzahlen
    case ocr_konfig
    case aktivemodule
    case zeit_zuordnungauftrag
    case firma_news
    case firma_news_dokument
    case invoicefetcher
    case zeit_ueberstunden
    case mandtalk_emailabruf
    case mandtalk_spamfilter
    case mandtalk_emailmanager
    case mandtalk_emaildatei
    case checkliste_verbesserung
    case mandtalk_chat_vorlage
    case berater_erlaubte_konten
    case document_ai
}

public class MultiPatchResponse : Codable
{
    public var patchedData:[MultiPatchEnum:IEnumerable<IPrimaryKey>] = [:]
    public var success:Bool

    required public init(){}
}


Swift MultiPatchRequest 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/MultiPatch/ HTTP/1.1 
Host: ws4.fibudata.net 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<MultiPatchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <Test>false</Test>
  <patchDictionary xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfMultiPatchEnumArrayOfanyTypeMQkTcW9o>
      <d2p1:Key>apps</d2p1:Key>
      <d2p1:Value>
        <d2p1:anyType i:nil="true" />
      </d2p1:Value>
    </d2p1:KeyValueOfMultiPatchEnumArrayOfanyTypeMQkTcW9o>
  </patchDictionary>
</MultiPatchRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<MultiPatchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
  <patchedData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfMultiPatchEnumArrayOfanyTypeMQkTcW9o>
      <d2p1:Key>apps</d2p1:Key>
      <d2p1:Value i:nil="true" />
    </d2p1:KeyValueOfMultiPatchEnumArrayOfanyTypeMQkTcW9o>
  </patchedData>
  <success>false</success>
</MultiPatchResponse>