Handling multiple responses dynamically in ICS Orchestration: We are using one REST Web Service for which we will get two different responses based on availability of tables for a given time. Use case: Get the available tables for a given time. Request Parameters: Restaurant ID: 642346, Time: 10:00 (Along with above parameters some other parameters are required which are common for all requests.) Response1: For the given time if tables are available, the response is { "RestaurantId": 642346, "AvailableTables": 3 } Response2: For the given time if tables are not available, the response will be { "StatusCode": 3, "Status": "Tables are not available for given timeslot." } Solution: New Integration -> Orchestration (Give the required details like name etc)
Comments
Post a Comment