-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.01_CSD02
-
Fix Version/s: V4.01_CS02
-
Component/s: JSON Format, Vocabularies
-
Labels:None
-
Environment:
Applied
-
Proposal:
-
Resolution:
Add an If-Then-Else construct to batch requests that allows executing a sequence of requests depending on a condition, typically the HTTP status code of a preceding request
Example 1:
1. Book specific seat for a sports event
2. if booking failed
2.a. book best-match seat for a sports event
endif
Example 2:
1. Modify shopping cart
2. Convert shopping cart to purchase order (bound action)
3. if success
3.a. GET newly created purchase order
else
3.b. GET modified shopping cart
endif