| 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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Waehrungen:
[
{
name: String,
value: String,
_erstellt: 0001-01-01,
_aenderung: 0001-01-01
}
],
bankid: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
error: String,
result: False
}