| GET, POST | /fibuscan/Onlinehandel/WaehrungenSpeichern |
|---|
export class WaehrungenSpeichernResponse
{
public error: string;
public result: boolean;
public constructor(init?: Partial<WaehrungenSpeichernResponse>) { (Object as any).assign(this, init); }
}
export class NameValue
{
public name: string;
public value: string;
public _erstellt?: string;
public _aenderung?: string;
public constructor(init?: Partial<NameValue>) { (Object as any).assign(this, init); }
}
export class WaehrungenSpeichernRequest
{
public Waehrungen: NameValue[];
public bankid: number;
public constructor(init?: Partial<WaehrungenSpeichernRequest>) { (Object as any).assign(this, init); }
}
TypeScript WaehrungenSpeichernRequest 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/WaehrungenSpeichern HTTP/1.1
Host: ws4.fibudata.net
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<WaehrungenSpeichernRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages">
<Waehrungen xmlns:d2p1="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Models">
<d2p1:NameValue>
<d2p1:_aenderung>0001-01-01T00:00:00</d2p1:_aenderung>
<d2p1:_erstellt>0001-01-01T00:00:00</d2p1:_erstellt>
<d2p1:name>String</d2p1:name>
<d2p1:value>String</d2p1:value>
</d2p1:NameValue>
</Waehrungen>
<bankid>0</bankid>
</WaehrungenSpeichernRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <WaehrungenSpeichernResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FIBUdataServiceStack.ServiceModel.Messages"> <error>String</error> <result>false</result> </WaehrungenSpeichernResponse>