Request/Response Pairs: Unterschied zwischen den Versionen

Aus DRV STRING
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „The STRING interface contains matched request/response pairs. In most cases the response will be of the same kind as the request, but under certain conditions…“)
 
K (Bachemj verschob die Seite Request/Response pairs nach Request/Response Pairs, ohne dabei eine Weiterleitung anzulegen)
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 7: Zeile 7:
 
! Request !! Response !! Notes
 
! Request !! Response !! Notes
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| *Request || ErrorResponse || any request may get a generic error response if it can't be handled for whatever reason
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| BookingRequest || BookingResponse || standard case
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| FlightRequest || FlightResponse || standard case
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| AccomodationRequest || AccomodationResponse || standard case
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| CarrentalRequest || CarrentalResponse || standard case
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| CruiseRequest || CruiseResponse || standard case
 
|-
 
|-
| Beispiel || Beispiel || Beispiel
+
| PackageRequest || PackageResponse || standard case
 +
|-
 +
| BookingRequest || PaymentResponse || payment before booking
 +
|-
 +
| PaymentRequest || BookingResponse || only in case of payment before booking - booking completed
 +
|-
 +
| PaymentRequest || PaymentResponse || standard case payment after booking
 +
|-
 +
| ConfigurationRequest || ConfigurationResponse ||
 +
|-
 +
| VersionRequest || VersionResponse ||
 +
|-
 +
| AgencyClearanceRequest || AgencyClearanceResponse ||  
 
|}
 
|}

Aktuelle Version vom 17. April 2018, 13:54 Uhr

The STRING interface contains matched request/response pairs. In most cases the response will be of the same kind as the request, but under certain conditions deviations will be allowed.

As XSD schema can't define workflows of this kind we keep a table of allowed request-response pairs here.

Request Response Notes
*Request ErrorResponse any request may get a generic error response if it can't be handled for whatever reason
BookingRequest BookingResponse standard case
FlightRequest FlightResponse standard case
AccomodationRequest AccomodationResponse standard case
CarrentalRequest CarrentalResponse standard case
CruiseRequest CruiseResponse standard case
PackageRequest PackageResponse standard case
BookingRequest PaymentResponse payment before booking
PaymentRequest BookingResponse only in case of payment before booking - booking completed
PaymentRequest PaymentResponse standard case payment after booking
ConfigurationRequest ConfigurationResponse
VersionRequest VersionResponse
AgencyClearanceRequest AgencyClearanceResponse