| GET, POST | /fibuscan/Onlinehandel/getFehlerLog |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class FehlerLogRequest
{
}
public static class FehlerLogResponse
{
public ArrayList<fehler_log> FehlerLogListe = null;
public ArrayList<fehler_log> getFehlerLogListe() { return FehlerLogListe; }
public FehlerLogResponse setFehlerLogListe(ArrayList<fehler_log> value) { this.FehlerLogListe = value; return this; }
}
public static class fehler_log implements IPrimaryKey, IMandnr, ITableBase
{
public Long id = null;
public Long mandant = null;
public Long nutzerid = null;
public String stufe = null;
public String modul = null;
public String funktion = null;
public String meldung = null;
public Date _erstellt = null;
public Date _aenderung = null;
@Ignore()
public Long PrimaryKey = null;
public Long getId() { return id; }
public fehler_log setId(Long value) { this.id = value; return this; }
public Long getMandant() { return mandant; }
public fehler_log setMandant(Long value) { this.mandant = value; return this; }
public Long getNutzerid() { return nutzerid; }
public fehler_log setNutzerid(Long value) { this.nutzerid = value; return this; }
public String getStufe() { return stufe; }
public fehler_log setStufe(String value) { this.stufe = value; return this; }
public String getModul() { return modul; }
public fehler_log setModul(String value) { this.modul = value; return this; }
public String getFunktion() { return funktion; }
public fehler_log setFunktion(String value) { this.funktion = value; return this; }
public String getMeldung() { return meldung; }
public fehler_log setMeldung(String value) { this.meldung = value; return this; }
public Date getErstellt() { return _erstellt; }
public fehler_log setErstellt(Date value) { this._erstellt = value; return this; }
public Date getAenderung() { return _aenderung; }
public fehler_log setAenderung(Date value) { this._aenderung = value; return this; }
public Long getPrimaryKey() { return PrimaryKey; }
public fehler_log setPrimaryKey(Long value) { this.PrimaryKey = value; return this; }
}
}
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/Onlinehandel/getFehlerLog HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<FehlerLogRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<FehlerLogResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<FehlerLogListe xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:fehler_log>
<d2p1:PrimaryKey>0</d2p1:PrimaryKey>
<d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
<d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
<d2p1:funktion>String</d2p1:funktion>
<d2p1:id>0</d2p1:id>
<d2p1:mandant>0</d2p1:mandant>
<d2p1:meldung>String</d2p1:meldung>
<d2p1:modul>String</d2p1:modul>
<d2p1:nutzerid>0</d2p1:nutzerid>
<d2p1:stufe>String</d2p1:stufe>
</d2p1:fehler_log>
</FehlerLogListe>
</FehlerLogResponse>