You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to handle multple responses dynamically in ICS Orchestration

edited Jul 17, 2017 7:00AM in Integration 1 comment

Summary

How to handle multple responses dynamically in ICS Orchestration

Content

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!