| GET, POST | /fibuscan/Onlinehandel/DateiLaden |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class OnlinehandelDateiLadenRequest
{
public Long ID = null;
public Long getId() { return ID; }
public OnlinehandelDateiLadenRequest setId(Long value) { this.ID = value; return this; }
}
public static class OnlinehandelDateiLadenResponse
{
public ArrayList<ArrayList<OnlinehandelItem>> Liste = null;
public ArrayList<ArrayList<OnlinehandelItem>> getListe() { return Liste; }
public OnlinehandelDateiLadenResponse setListe(ArrayList<ArrayList<OnlinehandelItem>> value) { this.Liste = value; return this; }
}
}
Java OnlinehandelDateiLadenRequest DTOs
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/DateiLaden HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<OnlinehandelDateiLadenRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<ID>0</ID>
</OnlinehandelDateiLadenRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<OnlinehandelDateiLadenResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<Liste xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:ArrayOfOnlinehandelItem>
<d2p1:OnlinehandelItem>
<d2p1:col_nummer>0</d2p1:col_nummer>
<d2p1:datum>0001-01-01T00:00:00</d2p1:datum>
<d2p1:datum_string>String</d2p1:datum_string>
<d2p1:fehler>false</d2p1:fehler>
<d2p1:header>String</d2p1:header>
<d2p1:konfiguration>OrderiD</d2p1:konfiguration>
<d2p1:original>String</d2p1:original>
<d2p1:summenkonfiguration>false</d2p1:summenkonfiguration>
<d2p1:value />
<d2p1:zahl>0</d2p1:zahl>
<d2p1:zahl_string>String</d2p1:zahl_string>
</d2p1:OnlinehandelItem>
</d2p1:ArrayOfOnlinehandelItem>
</Liste>
</OnlinehandelDateiLadenResponse>