Friday, November 29, 2024

#1046 - OIC Integration Basics Lab 12 Multi-Verb Support

Use of multiple verbs can help reduce the number of integrations you have, e.g. instead of having a getOrder integration and a createOrder integration, combine these into 1.

Here's a simple example of such.

First verb we implement is GET - 
I could add more verbs, e.g. PUT for order update, but these 2 will suffice.


Note the use of Pick to differentiate between the 2 operations.

They are both marked as incomplete, as I need to define tracking fields for each verb.

I do the same for getOrders - 

I now implement the 2 map actions - 

I activate the integration and click Run

Check out the endpoint metadata - 



 





















 

No comments: