API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  How to route 2 backends using Switch policy in IBM API connect V10

    Posted 2 days ago
    Hi Everyone 

    I am facing difficulty in invoking the backends based on incoming request payload filed contains XYZ12233.

    If prefix contains XYZ we need to call one backend and just 12233 contains we need to call another backend in IBM API connect V10.

    Regards 
    Nagendra B 


  • 2.  RE: How to route 2 backends using Switch policy in IBM API connect V10

    Posted 2 days ago
    Hi,

    For a quick check, this should work in switch 
    $(contains(message.body.id, 'XYZ'))

    FYR - huge list of conditions mentioned, you can refer and play around here






  • 3.  RE: How to route 2 backends using Switch policy in IBM API connect V10

    Posted 2 days ago
    Hi,

    For a quick check, this should work in switch 
    $(contains(message.body.id, 'XYZ'))

    you should use parse as a first action in your flow.

    FYR - huge list of conditions mentioned, you can refer and play around here