How to handle multple responses dynamically in ICS Orchestration
Summary
How to handle multple responses dynamically in ICS OrchestrationContent
Hi All,
How can we handle multiple responses in ICS.
We are using one REST Web Service for which we are having two different responses. So how can we add multiple responses in orchestration.
Usecase: Need to get the available tables for given time.
Request Parameters:
Restaurant ID:22323,
Time: 10:00
Response1: If for given time if tables are available, the response is
{
"RestaurantId": 642346,
"AvailableTables": 3
}
Response2: If for given time if tables are not available, the response will be
{
"StatusCode": 3,
"Status": "Tables are not available for given timeslot."
}
Obeservation:
1. If I provide combination of both responses as sample response in orchestration we are not getting any response.