| All Verbs | /fibuscan/MultiPatch/ |
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using FIBUdataServiceStack.ServiceModel.Messages;
namespace FIBUdataServiceStack.ServiceModel.Messages
{
public enum MultiPatchEnum
{
apps,
archivstruktur,
arocr,
auftrag,
ausgangsrechnungtyp,
avis,
bank,
bankdaten,
bankdaten_extended,
banksalden,
berateremail,
beraterlogin,
briefkastenbearbeiter,
briefkastendaten,
briefkastenocr,
briefkastenvorlauf,
bwadetails,
bwagruppen,
daten_zahlungssysteme,
dokumente,
dokumente_abfrage,
dokumente_abfrage_queue,
dokumentenart,
dokumentevolltext,
dtadetails,
dtavorlauf,
fakt_abschlag,
fakt_ansprechpartner,
fakt_artikel,
fakt_artikeleinheit,
fakt_artikelgruppe,
fakt_artikelpreise,
fakt_belegdaten,
fakt_belegnr,
fakt_belegpositionen,
fakt_einleitung_txt,
fakt_rabattgruppe,
fakt_rabattgruppe_details,
fakt_serien,
fakt_ust,
fakt_zahlungsschritte,
feiertage,
formatfelderbankdaten,
formatfelderdetails,
formatfeldertyp,
freigaben,
gutscheine,
kontenrahmendaten,
kurzbezeichnungen,
lernassistentfibu,
lernbasis,
lerndetails,
logininfos,
mandemail,
mandlogin,
mandlogininfos,
mandnr,
musterbank,
musterbankdaten,
musterdokumente,
musterpersonendb,
ocrlizenzen,
ocrlizenzen10,
ocrlizenzeneval,
optionen,
personendb,
personendb_history,
projekt,
projektdaten_ist,
projekt_soll_typen,
projektauftrag,
projektdaten,
projektdetail,
projekteinsatz,
projektgruppe,
projektrechnung,
projektvorlage,
reisekosten,
sbegriffe,
scans,
smtp,
stbdaten,
steuerberater,
steuerberater_land,
steuerberater_angebot,
steuerberater_auftrag,
steuerberater_rezension,
ust,
ust_kennzeichen_daten,
ust_kennzeichen_liste,
verrechnung,
vorlauf,
wiederkehrende_posten,
zeit_daten,
zeit_löschen,
zeit_stempel,
zeit_taetigkeiten,
zeit_zuordnung,
zeit_zuordnungtaetigkeiten,
zugriffsrechte,
zugriffsrechtedatenbank,
zugriffsrechtedetails,
mandtalk_chat,
mandtalk,
abteilung,
urlaubsanspruch,
wochenarbeitszeit,
abwesenheitstypen,
abwesenheit,
onlinenhandel_abrechnung,
onlinehandel_datei,
feiertage_gesetzlich,
ferien_gesetzlich,
onlinehandel_lerndatenbank,
onlinehandel_kontierungs_regel,
onlinehandel_treffertypen,
dyn_feld,
dyn_feldoptionen,
dyn_feldtyp,
dyn_feldvalidierung,
dyn_feldwert,
dyn_feldwertchecked,
dyn_formular,
dyn_formularfeld,
berater_zugriffsrechte,
mandconfig,
mandtalk_chat_gelesen,
mandtalk_kontakt,
postleitzahlen,
ocr_konfig,
aktivemodule,
zeit_zuordnungauftrag,
firma_news,
firma_news_dokument,
invoicefetcher,
zeit_ueberstunden,
mandtalk_emailabruf,
mandtalk_spamfilter,
mandtalk_emailmanager,
mandtalk_emaildatei,
checkliste_verbesserung,
mandtalk_chat_vorlage,
berater_erlaubte_konten,
document_ai,
}
public partial class MultiPatchRequest
{
public MultiPatchRequest()
{
patchDictionary = new Dictionary<MultiPatchEnum, List<IPrimaryKey>>{};
}
public virtual Dictionary<MultiPatchEnum, List<IPrimaryKey>> patchDictionary { get; set; }
public virtual bool Test { get; set; }
}
public partial class MultiPatchResponse
{
public MultiPatchResponse()
{
patchedData = new Dictionary<MultiPatchEnum, IEnumerable<IPrimaryKey>>{};
}
public virtual Dictionary<MultiPatchEnum, IEnumerable<IPrimaryKey>> patchedData { get; set; }
public virtual bool success { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=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>