FIBUdataServiceStack

<back to all web services

CheckAmazonDataRequest

The following routes are available for this service:
GET, POST/fibuscan/Onlinehandel/SupportTools/CheckAmazonData
import Foundation
import ServiceStack

public class CheckAmazonDataRequest : Codable
{
    public var schnittstelle:Schnittstellen?
    public var ausgangsrechnungKontonummer:String
    public var von_datum:Date?
    public var bis_datum:Date?
    public var bank_id:Int?

    required public init(){}
}

public enum Schnittstellen : Int, Codable
{
    case Klarna = 1
    case Real_de = 2
    case Mollie = 3
    case easybill = 4
    case sumup = 5
    case Etsy = 6
    case Amazon = 7
    case Plenty = 8
    case Ebay = 9
    case Shopify = 10
    case DreamRobot = 11
    case Rakuten = 12
    case Lexoffice = 13
    case EbayAusgangsrechnung = 14
    case JTLRechnungen = 15
    case PayPal = 16
    case Billbee = 17
    case Concardis = 18
    case ShopifyPayment = 19
    case Afterbuy = 20
    case SevDesk = 21
    case Shopware = 22
    case AmazonPay = 23
    case AmazonAusgangsrechnungen = 24
    case AmazonOffenePosten = 25
    case AmazonWarenbewegungen = 26
    case Shopware6 = 27
    case Stripe = 28
    case Xentral = 29
    case AmazonSelfBilling = 30
    case Weclapp = 31
    case Gambio = 32
    case CardMarket = 33
    case Unzer = 34
    case StripeAusgangsrechnung = 35
    case Zettle = 36
    case OttoMarket = 37
    case MetroMarket = 38
    case AmazonOauth2 = 39
    case FIBUscanAPI = 40
    case AmazonSPA = 41
    case AmazonAusgangsrechnungenSPA = 42
    case AmazonOffenePostenSPA = 43
    case AmazonWarenbewegungenSPA = 44
    case AmazonSelfBillingSPA = 45
    case AmazonPayV2 = 46
    case AmazonComminling = 47
    case AmazonComminlingSPA = 48
    case EtsyV3 = 49
    case OttoZahlung = 50
    case MetroZahlung = 51
    case MagentoZahlung = 52
    case MagentoAusgangsrechnung = 53
    case Pixi = 54
    case Billomat = 55
    case AmazonVendorAR_SPA = 56
    case AmazonVendorZA_SPA = 57
    case WoocommerceAusgangsrechnung = 58
    case AmaInvoice = 59
    case AmazonPayV3 = 60
    case TikTok = 61
}

public class CheckAmazonDataResponse : Codable
{
    public var error:String
    public var anzahl:Int
    public var startSaldo:Double
    public var endSaldo:Double
    public var orders_id:[String] = []
    public var rueckmeldung:String

    required public init(){}
}


Swift CheckAmazonDataRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /fibuscan/Onlinehandel/SupportTools/CheckAmazonData HTTP/1.1 
Host: ws4.fibudata.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Schnittstelle: 0,
	AusgangsrechnungKontonummer: String,
	von_datum: 0001-01-01,
	bis_datum: 0001-01-01,
	bank_id: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	error: String,
	anzahl: 0,
	startSaldo: 0,
	endSaldo: 0,
	orders_id: 
	[
		String
	],
	rueckmeldung: String
}